commit | 9c77d1c2eb4a50917a9d169bac941ddd7e976a21 | [log] [tgz] |
---|---|---|
author | Tim Jarratt <tjarratt@gmail.com> | Fri Feb 19 22:54:52 2016 -0800 |
committer | Tim Jarratt <tjarratt@gmail.com> | Fri Feb 19 22:54:52 2016 -0800 |
tree | 3975bbe4ad208920532d8600de7b55416da6a156 | |
parent | c72df929b80ef4930aaa75d5e486887ff2f3e06a [diff] |
Improves MatchJSON error message When one of the actual or expected cannot be parsed as JSON, it would be quite nice to know quickly which one you, kind developer, should be looking at in order to improve and fix your tests. This commit mostly just adds the words "expected" and "actual" around the error messages, which is hopefully more clear.
Jump straight to the docs to learn about Gomega, including a list of all available matchers.
To discuss Gomega and get updates, join the google group.
Learn more about Ginkgo here
Gomega is MIT-Licensed
The ConsistOf
matcher uses goraph which is embedded in the source to simplify distribution. goraph has an MIT license.