X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d677ef9c9b8dda9592be9e350c71e76058fc2c57..8b91f9737d6219321cacb3c94356f35b59bb9a43:/sdk/cli/test/test_arv-collection-create.rb diff --git a/sdk/cli/test/test_arv-collection-create.rb b/sdk/cli/test/test_arv-collection-create.rb index d1f4a51940..3dc4bdd434 100644 --- a/sdk/cli/test/test_arv-collection-create.rb +++ b/sdk/cli/test/test_arv-collection-create.rb @@ -14,9 +14,7 @@ class TestCollectionCreate < Minitest::Test 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