Debian Codegraph @

testdata/out_matching_basic_failing.1.rspecish

raw ◀ ▶
1 Debian patch touch this file
1 FFFFFFFFFFFFFFFFFFFFFFFFFFF
2
3 Failures/Skipped:
4
5 Matching: basic_array: matches:
6 Expected
7 ["group1","group2","group3"]
8 to contain elements matching
9 ["group1","group2","group2","group4"]
10 the missing elements were
11 ["group2","group4"]
12
13 Matching: basic_array_consists_of: matches:
14 Expected
15 ["foo","bar","moo"]
16 to consist of
17 ["fox",{"have-prefix":"t"},"box"]
18 the missing elements were
19 ["fox",{"have-prefix":"t"},"box"]
20 the extra elements were
21 ["foo","bar","moo"]
22
23 Matching: basic_array_matchers: matches:
24 Expected
25 ["foo","bar","moo"]
26 to satisfy at least one of these matchers
27 [{"contain-elements":["fox","box"]},{"contain-elements":["fox","bax"]},["fox","bax","mox"],{"consist-of":["fox",{"have-prefix":"t"},"box"]},{"contain-element":{"have-prefix":"x"}},{"contain-element":{"have-suffix":"x"}}]
28
29 Matching: basic_int: matches:
30 Expected
31 42
32 to be numerically eq
33 43
34
35 Matching: basic_len: matches:
36 Expected
37 "123"
38 to satisfy at least one of these matchers
39 [{"have-len":2}]
40
41 Matching: basic_reader: matches:
42 Expected
43 "object: *strings.Reader"
44 to have patterns
45 ["fox","/^t.*w$/","!foo","!/^foo/"]
46 the missing elements were
47 ["fox","/^t.*w$/","!foo","!/^foo/"]
48
49 Matching: basic_semver: matches:
50 Expected
51 "1.2.3"
52 to satisfy at least one of these matchers
53 [{"semver-constraint":">=9.9.0"}]
54
55 Matching: basic_string: matches:
56 Expected
57 "this is a test"
58 to equal
59 "this is a failing test"
60 diff
61 --- test
62 +++ actual
63 @@ -1 +1 @@
64 -this is a failing test
65 +this is a test
66
67 Matching: basic_string_contain_substring: matches:
68 Expected
69 "foo"
70 to contain substring
71 "x"
72 diff
73 --- test
74 +++ actual
75 @@ -1 +1 @@
76 -x
77 +foo
78
79 Matching: basic_string_have_prefix: matches:
80 Expected
81 "foo"
82 to have prefix
83 "g"
84 diff
85 --- test
86 +++ actual
87 @@ -1 +1 @@
88 -g
89 +foo
90
91 Matching: basic_string_have_suffix: matches:
92 Expected
93 "foo"
94 to have suffix
95 "x"
96 diff
97 --- test
98 +++ actual
99 @@ -1 +1 @@
100 -x
101 +foo
102
103 Matching: basic_string_multiline: matches:
104 Expected
105 "this is a test1\nthis is a test2\nthis is a test3\n"
106 to equal
107 "this is a test1\nthis is a test9\nthis is a test3\n"
108 diff
109 --- test
110 +++ actual
111 @@ -1,3 +1,3 @@
112 this is a test1
113 -this is a test9
114 +this is a test2
115 this is a test3
116
117 Matching: basic_string_oneline: matches:
118 Expected
119 "this is a test1\n"
120 to equal
121 "this is a test9\n"
122 diff
123 --- test
124 +++ actual
125 @@ -1,2 +1,2 @@
126 -this is a test9
127 +this is a test1
128
129
130 Matching: basic_string_regexp: matches:
131 Expected
132 "this is a test"
133 to match regular expression
134 "^foo"
135 diff
136 --- test
137 +++ actual
138 @@ -1 +1 @@
139 -^foo
140 +this is a test
141
142 Matching: negated_and: matches:
143 Expected
144 42
145 not to satisfy all of these matchers
146 [{"eq":42},{"eq":42}]
147
148 Matching: negated_basic_array: matches:
149 Expected
150 ["group1","group2","group3"]
151 not to contain elements matching
152 ["group1","group2","group3"]
153
154 Matching: negated_basic_array_consists_of: matches:
155 Expected
156 ["foo","bar","moo"]
157 not to consist of
158 ["foo",{"have-prefix":"m"},"bar"]
159
160 Matching: negated_basic_array_contain_element: matches:
161 Expected
162 ["foo","bar","moo"]
163 not to contain element matching
164 "foo"
165
166 Matching: negated_basic_array_matchers: matches:
167 Expected
168 ["foo","bar","moo"]
169 to satisfy at least one of these matchers
170 [{"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"}}}]
171
172 Matching: negated_basic_int: matches:
173 Expected
174 42
175 not to be numerically eq
176 42
177
178 Matching: negated_basic_reader: matches:
179 Error
•180 ContainElements matcher expects an array/slice/map/iter.Seq/iter.Seq2. Got:
181 <string>: foo bar
182 moo cow
183
184
185 Matching: negated_basic_string: matches:
186 Expected
187 "this is a test"
188 not to equal
189 "this is a test"
190
191 Matching: negatedbasic_len: matches:
192 Expected
193 "123"
194 not to have length
195 3
196
197 Matching: negatedbasic_string_contain_substring: matches:
198 Expected
199 "foo"
200 not to contain substring
201 "oo"
202 diff
203 --- test
204 +++ actual
205 @@ -1 +1 @@
206 -oo
207 +foo
208
209 Matching: negatedbasic_string_have_prefix: matches:
210 Expected
211 "foo"
212 not to have prefix
213 "f"
214 diff
215 --- test
216 +++ actual
217 @@ -1 +1 @@
218 -f
219 +foo
220
221 Matching: negatedbasic_string_have_suffix: matches:
222 Expected
223 "foo"
224 not to have suffix
225 "o"
226 diff
227 --- test
228 +++ actual
229 @@ -1 +1 @@
230 -o
231 +foo
232
233 Matching: negatedbasic_string_regexp: matches:
234 Expected
235 "this is a test"
236 not to match regular expression
237 "^this"
238 diff
239 --- test
240 +++ actual
241 @@ -1 +1 @@
242 -^this
243 +this is a test
244
245 Total Duration:
246 Count: 27, Failed: 27, Skipped: 0