forked from theory/pgtap
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted
sql/matching.sql
to use check_test()
.
- Loading branch information
Showing
2 changed files
with
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
\unset ECHO | ||
1..20 | ||
1..24 | ||
ok 1 - matches() should work | ||
ok 2 - matches() should work with a regex | ||
ok 3 - imatches() should work with a regex | ||
ok 4 - matches() failure | ||
ok 5 - Check matches diagnostics | ||
ok 6 - doesnt_match() should work | ||
ok 7 - doesnt_match() should work with a regex | ||
ok 8 - doesnt_imatch() should work with a regex | ||
ok 9 - doesnt_match() failure | ||
ok 10 - doesnt_match() should work | ||
ok 11 - alike() should work | ||
ok 12 - alike() should work with a regex | ||
ok 13 - ialike() should work with a regex | ||
ok 14 - alike() failure | ||
ok 15 - Check alike diagnostics | ||
ok 16 - unalike() should work | ||
ok 17 - unalike() should work with a regex | ||
ok 18 - iunalike() should work with a regex | ||
ok 19 - unalike() failure | ||
ok 20 - Check unalike diagnostics | ||
ok 4 - matches() fail should fail | ||
ok 5 - matches() fail should have the proper description | ||
ok 6 - matches() fail should have the proper diagnostics | ||
ok 7 - doesnt_match() should work | ||
ok 8 - doesnt_match() should work with a regex | ||
ok 9 - doesnt_imatch() should work with a regex | ||
ok 10 - doesnt_match() fail should fail | ||
ok 11 - doesnt_match() fail should have the proper description | ||
ok 12 - doesnt_match() fail should have the proper diagnostics | ||
ok 13 - alike() should work | ||
ok 14 - alike() should work with a regex | ||
ok 15 - ialike() should work with a regex | ||
ok 16 - alike() fail should fail | ||
ok 17 - alike() fail should have the proper description | ||
ok 18 - alike() fail should have the proper diagnostics | ||
ok 19 - unalike() should work | ||
ok 20 - unalike() should work with a regex | ||
ok 21 - iunalike() should work with a regex | ||
ok 22 - unalike() fail should fail | ||
ok 23 - unalike() fail should have the proper description | ||
ok 24 - unalike() fail should have the proper diagnostics |
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