-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added: Initial diff support * Minor doc fix * Always show diff when string values do not match * switch to go-difflib as it handles single line strings better * Update travis.yaml to not double build PRs * Update dependencies
- Loading branch information
1 parent
a8b74b4
commit 4ac6db0
Showing
17 changed files
with
461 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
GOSS OK - Count: 14, Failed: 0, Skipped: 1, Duration: | ||
GOSS OK - Count: 16, Failed: 0, Skipped: 1, Duration: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.......S...... | ||
.........S...... | ||
|
||
Failures/Skipped: | ||
|
||
Matching: basic_string_skip: matches: skipped | ||
|
||
Total Duration: | ||
Count: 14, Failed: 0, Skipped: 1 | ||
Count: 16, Failed: 0, Skipped: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
1..14 | ||
1..16 | ||
ok 1 - Matching: basic_array: matches: matches expectation: ["group1","group2"] | ||
ok 2 - Matching: basic_array_matchers: matches: matches expectation: {"and":[{"contain-elements":["foo","bar"]},["foo","bar"],{"equal":["foo","bar","moo"]},{"consist-of":["foo",{"have-prefix":"m"},"bar"]},{"contain-element":{"have-prefix":"b"}},{"contain-element":{"have-suffix":"r"}}]} | ||
ok 3 - Matching: basic_int: matches: matches expectation: 42 | ||
ok 4 - Matching: basic_reader: matches: matches expectation: ["foo","/^m.*w$/","!ftw","!/^ERROR:/"] | ||
ok 5 - Matching: basic_semver: matches: matches expectation: {"semver-constraint":">=1.2.0"} | ||
ok 6 - Matching: basic_string: matches: matches expectation: "this is a test" | ||
ok 7 - Matching: basic_string_regexp: matches: matches expectation: {"match-regexp":"^this"} | ||
ok 8 - # SKIP Matching: basic_string_skip: matches: skipped | ||
ok 9 - Matching: negated_basic_array: matches: matches expectation: {"not":["group1","group2","group2","group4"]} | ||
ok 10 - Matching: negated_basic_array_matchers: matches: matches expectation: {"and":[{"not":{"contain-elements":["fox","box"]}},{"not":["fox","bax"]},{"not":{"equal":["fox","bax","mox"]}},{"not":{"consist-of":[{"have-suffix":"x"},{"have-prefix":"t"},"box"]}},{"not":{"contain-element":{"have-prefix":"x"}}}]} | ||
ok 11 - Matching: negated_basic_int: matches: matches expectation: {"not":43} | ||
ok 12 - Matching: negated_basic_reader: matches: matches expectation: {"not":{"contain-elements":["fox","/^t.*w$/","!foo","!/^foo/"]}} | ||
ok 13 - Matching: negated_basic_string: matches: matches expectation: {"not":"this is a failing test"} | ||
ok 14 - Matching: negated_basic_string_regexp: matches: matches expectation: {"not":{"match-regexp":"^foo"}} | ||
ok 7 - Matching: basic_string_multiline: matches: matches expectation: "this is a test1\nthis is a test2\nthis is a test3\n" | ||
ok 8 - Matching: basic_string_oneline: matches: matches expectation: "this is a test1\n" | ||
ok 9 - Matching: basic_string_regexp: matches: matches expectation: {"match-regexp":"^this"} | ||
ok 10 - # SKIP Matching: basic_string_skip: matches: skipped | ||
ok 11 - Matching: negated_basic_array: matches: matches expectation: {"not":["group1","group2","group2","group4"]} | ||
ok 12 - Matching: negated_basic_array_matchers: matches: matches expectation: {"and":[{"not":{"contain-elements":["fox","box"]}},{"not":["fox","bax"]},{"not":{"equal":["fox","bax","mox"]}},{"not":{"consist-of":[{"have-suffix":"x"},{"have-prefix":"t"},"box"]}},{"not":{"contain-element":{"have-prefix":"x"}}}]} | ||
ok 13 - Matching: negated_basic_int: matches: matches expectation: {"not":43} | ||
ok 14 - Matching: negated_basic_reader: matches: matches expectation: {"not":{"contain-elements":["fox","/^t.*w$/","!foo","!/^foo/"]}} | ||
ok 15 - Matching: negated_basic_string: matches: matches expectation: {"not":"this is a failing test"} | ||
ok 16 - Matching: negated_basic_string_regexp: matches: matches expectation: {"not":{"match-regexp":"^foo"}} |
Oops, something went wrong.