| 1 |
Matching: basic_array: matches: |
| 2 |
Expected |
| 3 |
["group1","group2","group3"] |
| 4 |
to contain elements matching |
| 5 |
["group1","group2","group2","group4"] |
| 6 |
the missing elements were |
| 7 |
["group2","group4"] |
| 8 |
Matching: basic_array_consists_of: matches: |
| 9 |
Expected |
| 10 |
["foo","bar","moo"] |
| 11 |
to consist of |
| 12 |
["fox",{"have-prefix":"t"},"box"] |
| 13 |
the missing elements were |
| 14 |
["fox",{"have-prefix":"t"},"box"] |
| 15 |
the extra elements were |
| 16 |
["foo","bar","moo"] |
| 17 |
Matching: basic_array_matchers: matches: |
| 18 |
Expected |
| 19 |
["foo","bar","moo"] |
| 20 |
to satisfy at least one of these matchers |
| 21 |
[{"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"}}] |
| 22 |
Matching: basic_int: matches: |
| 23 |
Expected |
| 24 |
42 |
| 25 |
to be numerically eq |
| 26 |
43 |
| 27 |
Matching: basic_len: matches: |
| 28 |
Expected |
| 29 |
"123" |
| 30 |
to satisfy at least one of these matchers |
| 31 |
[{"have-len":2}] |
| 32 |
Matching: basic_reader: matches: |
| 33 |
Expected |
| 34 |
"object: *strings.Reader" |
| 35 |
to have patterns |
| 36 |
["fox","/^t.*w$/","!foo","!/^foo/"] |
| 37 |
the missing elements were |
| 38 |
["fox","/^t.*w$/","!foo","!/^foo/"] |
| 39 |
Matching: basic_semver: matches: |
| 40 |
Expected |
| 41 |
"1.2.3" |
| 42 |
to satisfy at least one of these matchers |
| 43 |
[{"semver-constraint":">=9.9.0"}] |
| 44 |
Matching: basic_string: matches: |
| 45 |
Expected |
| 46 |
"this is a test" |
| 47 |
to equal |
| 48 |
"this is a failing test" |
| 49 |
diff |
| 50 |
--- test |
| 51 |
+++ actual |
| 52 |
@@ -1 +1 @@ |
| 53 |
-this is a failing test |
| 54 |
+this is a test |
| 55 |
Matching: basic_string_contain_substring: matches: |
| 56 |
Expected |
| 57 |
"foo" |
| 58 |
to contain substring |
| 59 |
"x" |
| 60 |
diff |
| 61 |
--- test |
| 62 |
+++ actual |
| 63 |
@@ -1 +1 @@ |
| 64 |
-x |
| 65 |
+foo |
| 66 |
Matching: basic_string_have_prefix: matches: |
| 67 |
Expected |
| 68 |
"foo" |
| 69 |
to have prefix |
| 70 |
"g" |
| 71 |
diff |
| 72 |
--- test |
| 73 |
+++ actual |
| 74 |
@@ -1 +1 @@ |
| 75 |
-g |
| 76 |
+foo |
| 77 |
Matching: basic_string_have_suffix: matches: |
| 78 |
Expected |
| 79 |
"foo" |
| 80 |
to have suffix |
| 81 |
"x" |
| 82 |
diff |
| 83 |
--- test |
| 84 |
+++ actual |
| 85 |
@@ -1 +1 @@ |
| 86 |
-x |
| 87 |
+foo |
| 88 |
Matching: basic_string_multiline: matches: |
| 89 |
Expected |
| 90 |
"this is a test1\nthis is a test2\nthis is a test3\n" |
| 91 |
to equal |
| 92 |
"this is a test1\nthis is a test9\nthis is a test3\n" |
| 93 |
diff |
| 94 |
--- test |
| 95 |
+++ actual |
| 96 |
@@ -1,3 +1,3 @@ |
| 97 |
this is a test1 |
| 98 |
-this is a test9 |
| 99 |
+this is a test2 |
| 100 |
this is a test3 |
| 101 |
Matching: basic_string_oneline: matches: |
| 102 |
Expected |
| 103 |
"this is a test1\n" |
| 104 |
to equal |
| 105 |
"this is a test9\n" |
| 106 |
diff |
| 107 |
--- test |
| 108 |
+++ actual |
| 109 |
@@ -1,2 +1,2 @@ |
| 110 |
-this is a test9 |
| 111 |
+this is a test1 |
| 112 |
|
| 113 |
Matching: basic_string_regexp: matches: |
| 114 |
Expected |
| 115 |
"this is a test" |
| 116 |
to match regular expression |
| 117 |
"^foo" |
| 118 |
diff |
| 119 |
--- test |
| 120 |
+++ actual |
| 121 |
@@ -1 +1 @@ |
| 122 |
-^foo |
| 123 |
+this is a test |
| 124 |
Matching: negated_and: matches: |
| 125 |
Expected |
| 126 |
42 |
| 127 |
not to satisfy all of these matchers |
| 128 |
[{"eq":42},{"eq":42}] |
| 129 |
Matching: negated_basic_array: matches: |
| 130 |
Expected |
| 131 |
["group1","group2","group3"] |
| 132 |
not to contain elements matching |
| 133 |
["group1","group2","group3"] |
| 134 |
Matching: negated_basic_array_consists_of: matches: |
| 135 |
Expected |
| 136 |
["foo","bar","moo"] |
| 137 |
not to consist of |
| 138 |
["foo",{"have-prefix":"m"},"bar"] |
| 139 |
Matching: negated_basic_array_contain_element: matches: |
| 140 |
Expected |
| 141 |
["foo","bar","moo"] |
| 142 |
not to contain element matching |
| 143 |
"foo" |
| 144 |
Matching: negated_basic_array_matchers: matches: |
| 145 |
Expected |
| 146 |
["foo","bar","moo"] |
| 147 |
to satisfy at least one of these matchers |
| 148 |
[{"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"}}}] |
| 149 |
Matching: negated_basic_int: matches: |
| 150 |
Expected |
| 151 |
42 |
| 152 |
not to be numerically eq |
| 153 |
42 |
| 154 |
Matching: negated_basic_reader: matches: |
| 155 |
Error |
| •156 |
ContainElements matcher expects an array/slice/map/iter.Seq/iter.Seq2. Got: |
| 157 |
<string>: foo bar |
| 158 |
moo cow |
| 159 |
|
| 160 |
Matching: negated_basic_string: matches: |
| 161 |
Expected |
| 162 |
"this is a test" |
| 163 |
not to equal |
| 164 |
"this is a test" |
| 165 |
Matching: negatedbasic_len: matches: |
| 166 |
Expected |
| 167 |
"123" |
| 168 |
not to have length |
| 169 |
3 |
| 170 |
Matching: negatedbasic_string_contain_substring: matches: |
| 171 |
Expected |
| 172 |
"foo" |
| 173 |
not to contain substring |
| 174 |
"oo" |
| 175 |
diff |
| 176 |
--- test |
| 177 |
+++ actual |
| 178 |
@@ -1 +1 @@ |
| 179 |
-oo |
| 180 |
+foo |
| 181 |
Matching: negatedbasic_string_have_prefix: matches: |
| 182 |
Expected |
| 183 |
"foo" |
| 184 |
not to have prefix |
| 185 |
"f" |
| 186 |
diff |
| 187 |
--- test |
| 188 |
+++ actual |
| 189 |
@@ -1 +1 @@ |
| 190 |
-f |
| 191 |
+foo |
| 192 |
Matching: negatedbasic_string_have_suffix: matches: |
| 193 |
Expected |
| 194 |
"foo" |
| 195 |
not to have suffix |
| 196 |
"o" |
| 197 |
diff |
| 198 |
--- test |
| 199 |
+++ actual |
| 200 |
@@ -1 +1 @@ |
| 201 |
-o |
| 202 |
+foo |
| 203 |
Matching: negatedbasic_string_regexp: matches: |
| 204 |
Expected |
| 205 |
"this is a test" |
| 206 |
not to match regular expression |
| 207 |
"^this" |
| 208 |
diff |
| 209 |
--- test |
| 210 |
+++ actual |
| 211 |
@@ -1 +1 @@ |
| 212 |
-^this |
| 213 |
+this is a test |
| 214 |
|
| 215 |
|
| 216 |
Failures/Skipped: |
| 217 |
|
| 218 |
Matching: basic_array: matches: |
| 219 |
Expected |
| 220 |
["group1","group2","group3"] |
| 221 |
to contain elements matching |
| 222 |
["group1","group2","group2","group4"] |
| 223 |
the missing elements were |
| 224 |
["group2","group4"] |
| 225 |
|
| 226 |
Matching: basic_array_consists_of: matches: |
| 227 |
Expected |
| 228 |
["foo","bar","moo"] |
| 229 |
to consist of |
| 230 |
["fox",{"have-prefix":"t"},"box"] |
| 231 |
the missing elements were |
| 232 |
["fox",{"have-prefix":"t"},"box"] |
| 233 |
the extra elements were |
| 234 |
["foo","bar","moo"] |
| 235 |
|
| 236 |
Matching: basic_array_matchers: matches: |
| 237 |
Expected |
| 238 |
["foo","bar","moo"] |
| 239 |
to satisfy at least one of these matchers |
| 240 |
[{"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"}}] |
| 241 |
|
| 242 |
Matching: basic_int: matches: |
| 243 |
Expected |
| 244 |
42 |
| 245 |
to be numerically eq |
| 246 |
43 |
| 247 |
|
| 248 |
Matching: basic_len: matches: |
| 249 |
Expected |
| 250 |
"123" |
| 251 |
to satisfy at least one of these matchers |
| 252 |
[{"have-len":2}] |
| 253 |
|
| 254 |
Matching: basic_reader: matches: |
| 255 |
Expected |
| 256 |
"object: *strings.Reader" |
| 257 |
to have patterns |
| 258 |
["fox","/^t.*w$/","!foo","!/^foo/"] |
| 259 |
the missing elements were |
| 260 |
["fox","/^t.*w$/","!foo","!/^foo/"] |
| 261 |
|
| 262 |
Matching: basic_semver: matches: |
| 263 |
Expected |
| 264 |
"1.2.3" |
| 265 |
to satisfy at least one of these matchers |
| 266 |
[{"semver-constraint":">=9.9.0"}] |
| 267 |
|
| 268 |
Matching: basic_string: matches: |
| 269 |
Expected |
| 270 |
"this is a test" |
| 271 |
to equal |
| 272 |
"this is a failing test" |
| 273 |
diff |
| 274 |
--- test |
| 275 |
+++ actual |
| 276 |
@@ -1 +1 @@ |
| 277 |
-this is a failing test |
| 278 |
+this is a test |
| 279 |
|
| 280 |
Matching: basic_string_contain_substring: matches: |
| 281 |
Expected |
| 282 |
"foo" |
| 283 |
to contain substring |
| 284 |
"x" |
| 285 |
diff |
| 286 |
--- test |
| 287 |
+++ actual |
| 288 |
@@ -1 +1 @@ |
| 289 |
-x |
| 290 |
+foo |
| 291 |
|
| 292 |
Matching: basic_string_have_prefix: matches: |
| 293 |
Expected |
| 294 |
"foo" |
| 295 |
to have prefix |
| 296 |
"g" |
| 297 |
diff |
| 298 |
--- test |
| 299 |
+++ actual |
| 300 |
@@ -1 +1 @@ |
| 301 |
-g |
| 302 |
+foo |
| 303 |
|
| 304 |
Matching: basic_string_have_suffix: matches: |
| 305 |
Expected |
| 306 |
"foo" |
| 307 |
to have suffix |
| 308 |
"x" |
| 309 |
diff |
| 310 |
--- test |
| 311 |
+++ actual |
| 312 |
@@ -1 +1 @@ |
| 313 |
-x |
| 314 |
+foo |
| 315 |
|
| 316 |
Matching: basic_string_multiline: matches: |
| 317 |
Expected |
| 318 |
"this is a test1\nthis is a test2\nthis is a test3\n" |
| 319 |
to equal |
| 320 |
"this is a test1\nthis is a test9\nthis is a test3\n" |
| 321 |
diff |
| 322 |
--- test |
| 323 |
+++ actual |
| 324 |
@@ -1,3 +1,3 @@ |
| 325 |
this is a test1 |
| 326 |
-this is a test9 |
| 327 |
+this is a test2 |
| 328 |
this is a test3 |
| 329 |
|
| 330 |
Matching: basic_string_oneline: matches: |
| 331 |
Expected |
| 332 |
"this is a test1\n" |
| 333 |
to equal |
| 334 |
"this is a test9\n" |
| 335 |
diff |
| 336 |
--- test |
| 337 |
+++ actual |
| 338 |
@@ -1,2 +1,2 @@ |
| 339 |
-this is a test9 |
| 340 |
+this is a test1 |
| 341 |
|
| 342 |
|
| 343 |
Matching: basic_string_regexp: matches: |
| 344 |
Expected |
| 345 |
"this is a test" |
| 346 |
to match regular expression |
| 347 |
"^foo" |
| 348 |
diff |
| 349 |
--- test |
| 350 |
+++ actual |
| 351 |
@@ -1 +1 @@ |
| 352 |
-^foo |
| 353 |
+this is a test |
| 354 |
|
| 355 |
Matching: negated_and: matches: |
| 356 |
Expected |
| 357 |
42 |
| 358 |
not to satisfy all of these matchers |
| 359 |
[{"eq":42},{"eq":42}] |
| 360 |
|
| 361 |
Matching: negated_basic_array: matches: |
| 362 |
Expected |
| 363 |
["group1","group2","group3"] |
| 364 |
not to contain elements matching |
| 365 |
["group1","group2","group3"] |
| 366 |
|
| 367 |
Matching: negated_basic_array_consists_of: matches: |
| 368 |
Expected |
| 369 |
["foo","bar","moo"] |
| 370 |
not to consist of |
| 371 |
["foo",{"have-prefix":"m"},"bar"] |
| 372 |
|
| 373 |
Matching: negated_basic_array_contain_element: matches: |
| 374 |
Expected |
| 375 |
["foo","bar","moo"] |
| 376 |
not to contain element matching |
| 377 |
"foo" |
| 378 |
|
| 379 |
Matching: negated_basic_array_matchers: matches: |
| 380 |
Expected |
| 381 |
["foo","bar","moo"] |
| 382 |
to satisfy at least one of these matchers |
| 383 |
[{"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"}}}] |
| 384 |
|
| 385 |
Matching: negated_basic_int: matches: |
| 386 |
Expected |
| 387 |
42 |
| 388 |
not to be numerically eq |
| 389 |
42 |
| 390 |
|
| 391 |
Matching: negated_basic_reader: matches: |
| 392 |
Error |
| •393 |
ContainElements matcher expects an array/slice/map/iter.Seq/iter.Seq2. Got: |
| 394 |
<string>: foo bar |
| 395 |
moo cow |
| 396 |
|
| 397 |
|
| 398 |
Matching: negated_basic_string: matches: |
| 399 |
Expected |
| 400 |
"this is a test" |
| 401 |
not to equal |
| 402 |
"this is a test" |
| 403 |
|
| 404 |
Matching: negatedbasic_len: matches: |
| 405 |
Expected |
| 406 |
"123" |
| 407 |
not to have length |
| 408 |
3 |
| 409 |
|
| 410 |
Matching: negatedbasic_string_contain_substring: matches: |
| 411 |
Expected |
| 412 |
"foo" |
| 413 |
not to contain substring |
| 414 |
"oo" |
| 415 |
diff |
| 416 |
--- test |
| 417 |
+++ actual |
| 418 |
@@ -1 +1 @@ |
| 419 |
-oo |
| 420 |
+foo |
| 421 |
|
| 422 |
Matching: negatedbasic_string_have_prefix: matches: |
| 423 |
Expected |
| 424 |
"foo" |
| 425 |
not to have prefix |
| 426 |
"f" |
| 427 |
diff |
| 428 |
--- test |
| 429 |
+++ actual |
| 430 |
@@ -1 +1 @@ |
| 431 |
-f |
| 432 |
+foo |
| 433 |
|
| 434 |
Matching: negatedbasic_string_have_suffix: matches: |
| 435 |
Expected |
| 436 |
"foo" |
| 437 |
not to have suffix |
| 438 |
"o" |
| 439 |
diff |
| 440 |
--- test |
| 441 |
+++ actual |
| 442 |
@@ -1 +1 @@ |
| 443 |
-o |
| 444 |
+foo |
| 445 |
|
| 446 |
Matching: negatedbasic_string_regexp: matches: |
| 447 |
Expected |
| 448 |
"this is a test" |
| 449 |
not to match regular expression |
| 450 |
"^this" |
| 451 |
diff |
| 452 |
--- test |
| 453 |
+++ actual |
| 454 |
@@ -1 +1 @@ |
| 455 |
-^this |
| 456 |
+this is a test |
| 457 |
|
| 458 |
Total Duration: |
| 459 |
Count: 27, Failed: 27, Skipped: 0 |