-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
expect.string_to_not_end_with
(#13)
This PR implements the negated counterpart of the `string_to_end_with` assertion. --------- Co-authored-by: Marshall Bowers <[email protected]>
- Loading branch information
1 parent
5572f32
commit 65cc9f7
Showing
4 changed files
with
53 additions
and
0 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
11 changes: 11 additions & 0 deletions
11
birdie_snapshots/expect_string_to_not_end_with_given_matching_string.accepted
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
version: 1.1.5 | ||
title: expect/string_to_not_end_with given matching string | ||
--- | ||
Expected "Ants in my Eyes Johnson" to not end with "son" | ||
|
||
[32m- Expected[39m | ||
[31m+ Received[39m | ||
|
||
[32m- son[39m | ||
[31m+ Ants in my Eyes Johnson[39m |
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