-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bowen/#280-21
- Loading branch information
Showing
11 changed files
with
575 additions
and
18 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,16 +1,16 @@ | ||
package testing | ||
|
||
type AssertableJSON interface { | ||
Json() map[string]any | ||
Count(key string, value int) AssertableJSON | ||
First(key string, callback func(AssertableJSON)) AssertableJSON | ||
Each(key string, callback func(AssertableJSON)) AssertableJSON | ||
Has(key string) AssertableJSON | ||
HasAll(keys []string) AssertableJSON | ||
HasAny(keys []string) AssertableJSON | ||
HasWithScope(key string, length int, callback func(AssertableJSON)) AssertableJSON | ||
Json() map[string]any | ||
Missing(key string) AssertableJSON | ||
MissingAll(keys []string) AssertableJSON | ||
Where(key string, value any) AssertableJSON | ||
WhereNot(key string, value any) AssertableJSON | ||
Each(key string, callback func(AssertableJSON)) AssertableJSON | ||
First(key string, callback func(AssertableJSON)) AssertableJSON | ||
HasWithScope(key string, length int, callback func(AssertableJSON)) AssertableJSON | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.