File: fix-test-expect-map.patch

package info (click to toggle)
goss 0.4.9-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,692 kB
  • sloc: sh: 984; makefile: 139
file content (49 lines) | stat: -rw-r--r-- 2,682 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: Update test results to expect array/slice/map/iter.Seq/iter.Seq2 rather than array/slice/map
Author: Lena Voytek <lena@voytek.dev>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100220
Forwarded: not-needed
Last-Update: 2025-04-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/testdata/out_matching_basic_failing.1.documentation
+++ b/testdata/out_matching_basic_failing.1.documentation
@@ -153,7 +153,7 @@
     42
 Matching: negated_basic_reader: matches:
 Error
-    ContainElements matcher expects an array/slice/map.  Got:
+    ContainElements matcher expects an array/slice/map/iter.Seq/iter.Seq2.  Got:
         <string>: foo bar
         moo cow
         
@@ -390,7 +390,7 @@
 
 Matching: negated_basic_reader: matches:
 Error
-    ContainElements matcher expects an array/slice/map.  Got:
+    ContainElements matcher expects an array/slice/map/iter.Seq/iter.Seq2.  Got:
         <string>: foo bar
         moo cow
         
--- a/testdata/out_matching_basic_failing.1.rspecish
+++ b/testdata/out_matching_basic_failing.1.rspecish
@@ -177,7 +177,7 @@
 
 Matching: negated_basic_reader: matches:
 Error
-    ContainElements matcher expects an array/slice/map.  Got:
+    ContainElements matcher expects an array/slice/map/iter.Seq/iter.Seq2.  Got:
         <string>: foo bar
         moo cow
         
--- a/testdata/out_matching_basic_failing.1.tap
+++ b/testdata/out_matching_basic_failing.1.tap
@@ -19,7 +19,7 @@
 not ok 18 - Matching: negated_basic_array_contain_element: matches: Expected ["foo","bar","moo"] not to contain element matching "foo"
 not ok 19 - Matching: negated_basic_array_matchers: matches: Expected ["foo","bar","moo"] to satisfy at least one of these matchers [{"not":{"contain-elements":["foo","bar"]}},{"not":{"contain-elements":["foo","bar"]}},{"not":["foo","bar","moo"]},{"not":{"consist-of":["foo",{"have-prefix":"m"},"bar"]}},{"not":{"contain-element":{"have-prefix":"b"}}}]
 not ok 20 - Matching: negated_basic_int: matches: Expected 42 not to be numerically eq 42
-not ok 21 - Matching: negated_basic_reader: matches: Error ContainElements matcher expects an array/slice/map. Got: <string>: foo bar moo cow 
+not ok 21 - Matching: negated_basic_reader: matches: Error ContainElements matcher expects an array/slice/map/iter.Seq/iter.Seq2. Got: <string>: foo bar moo cow 
 not ok 22 - Matching: negated_basic_string: matches: Expected "this is a test" not to equal "this is a test"
 not ok 23 - Matching: negatedbasic_len: matches: Expected "123" not to have length 3
 not ok 24 - Matching: negatedbasic_string_contain_substring: matches: Expected "foo" not to contain substring "oo"