-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix non-determinisit tests (#6847)
The test might pass or fail depending on whether you `cargo t` or `cargo t -p integration-tests`. The reason for that is that `preserve_order` feature of serde_json differs depending on which cargo command you invoke. That in turn leads to different input to the contract. There's two ways we can fix this: * enableing preserve_order feature for integration tests crate * formatting the JSON manually I went with the second option as it seems simpler and more robust.
- Loading branch information
Showing
3 changed files
with
22 additions
and
16 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