-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### What Move the arbitrary module under the testutils module. FIxes #1131 ### Why All other testutils features are under the testutils module. ### Known limitations This does not leave a deprecated module of reexports in the old location, so fuzz users will experience breakage. The soroban-examples repo and the fuzzing tutorial will need to be updated. There is other possible restructuring of the arbitrary module that could also be done, but is not, e.g. the contents of `arbitrary` could be reexported directly under `testutils`. This leaves the private `arbitrary_extra` module in its current location. `soroban-env-common` has a corresponding `arbitrary` module, but it is private. Now these two crates will have their corresponding modules located in different places. --- I also updated the lockfile for tests/fuzz/fuzz, as Cargo seems to want it updated. --------- Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
- Loading branch information
1 parent
5d55da6
commit d31628c
Showing
7 changed files
with
194 additions
and
259 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -786,7 +786,6 @@ pub mod xdr; | |
|
||
pub mod testutils; | ||
|
||
pub mod arbitrary; | ||
mod arbitrary_extra; | ||
|
||
mod tests; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
|
||
//! Utilities intended for use when testing. | ||
pub mod arbitrary; | ||
|
||
mod sign; | ||
pub use sign::ed25519; | ||
|
||
|
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.