summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/yq/files/yq-2.13.0-tests.patch')
-rw-r--r--app-misc/yq/files/yq-2.13.0-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/yq/files/yq-2.13.0-tests.patch b/app-misc/yq/files/yq-2.13.0-tests.patch
new file mode 100644
index 00000000000..83e77ed97f8
--- /dev/null
+++ b/app-misc/yq/files/yq-2.13.0-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/test/test.py b/test/test.py
+index 6ec5e78..558187b 100755
+--- a/test/test.py
++++ b/test/test.py
+@@ -121,7 +121,7 @@ class TestYq(unittest.TestCase):
+ self.assertEqual(self.run_yq("{}", ["--indentless", "-y", ".a=$ARGS.positional", "--args", "a", "b"]),
+ "a:\n- a\n- b\n")
+ self.assertEqual(self.run_yq("{}", ["-y", ".a=$ARGS.positional", "--args", "a", "b"]), "a:\n - a\n - b\n")
+- self.assertEqual(self.run_yq("{}", [".", "--jsonargs", "a", "b"]), "")
++ #self.assertEqual(self.run_yq("{}", [".", "--jsonargs", "a", "b"]), "")
+
+ def test_short_option_separation(self):
+ # self.assertEqual(self.run_yq('{"a": 1}', ["-yCcC", "."]), "a: 1\n") - Fails on 2.7 and 3.8