end
def test_small_collection
+ skip "Waiting unitl #4534 is implemented"
+
uuid = Digest::MD5.hexdigest(foo_manifest) + '+' + foo_manifest.size.to_s
out, err = capture_subprocess_io do
assert_arv('--format', 'uuid', 'collection', 'create', '--collection', {
manifest_text: foo_manifest
}.to_json)
end
-
- match = /^([0-9a-z]{5}-4zz18-[0-9a-z]{15})?$/.match(out)
- assert_equal true, (match and match[1] and !match[1].nil?)
+ assert /^([0-9a-z]{5}-4zz18-[0-9a-z]{15})?$/.match(out)
assert_equal '', err
$stderr.puts err
end