-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add (dont)seeResponseJsonXpathEvaluatesTo methods
* compare result of evaluated xpath expression to value * replace same instead equal * bug fix tests * bug fix docu * Change assertions to stricter * Revert test change, because evalueXpath returns float * expect float * revert to assertEquals * Use assertEquals in new methods because float can be returned when integer is expected * Remoce unnecessary space Co-authored-by: Gintautas Miselis <gintautas@miselis.lt>
- Loading branch information
1 parent
2b21087
commit 2535889
Showing
4 changed files
with
99 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
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
2535889
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine, thanks. It was dropped out off my mind: XPath numbers are always floats.