16263: Adds test exposing a bug on filter unmarshalling.
[arvados.git] / sdk / cli / test / test_arv-get.rb
index 2e2bba562f1e7dedc09fd3f4491da424cb7a5850..3a00fec94a6d585a0231d863a6f8c755d292dfff 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
 require 'minitest/autorun'
 require 'json'
 require 'yaml'
@@ -144,9 +148,9 @@ class TestArvGet < Minitest::Test
   def create_arv_object_with_value(value)
     out, err = capture_subprocess_io do
       system("arv", "tag", "add", value, "--object", "testing")
-      assert $?.success?, "Command failure running `arv tag`: #{$?}"
     end
     assert_equal '', err
+    assert $?.success?, "Command failure running `arv tag`: #{$?}"
     assert_operator 0, :<, out.strip.length
     out.strip
   end