rusty-diceware

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9f480fcbc9cb7bfb0d0bde8727dbfba9d878b596
parent 828f85f2a27a85826cfa327404823609c5a8c1d0
Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
Date:   Sun,  4 Sep 2022 14:38:10 +0200

Fix values in test cases

SeedableRng values are "stable", but minor version bumps (which have
happened since these cases were written) are allowed to change those. A
breaking change here was documentated for 0.7.

Diffstat:
Mtests/tests.rs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/tests.rs b/tests/tests.rs @@ -33,7 +33,7 @@ fn make_reinhold_vector() -> Vec<ReinholdWord> { #[test] fn beale_rng_test() { - let wanted: Vec<BealeWord> = vec!["dr", "raced", "pvc", "moon"] + let wanted: Vec<BealeWord> = vec!["io", "gavel", "beam", "time"] .into_iter() .map(BealeWord::new) .collect(); @@ -45,7 +45,7 @@ fn beale_rng_test() { #[test] fn reinhold_rng_test() { - let wanted: Vec<ReinholdWord> = vec!["douse", "qo", "prune", "moan"] + let wanted: Vec<ReinholdWord> = vec!["india", "gamma", "bcd", "theme"] .into_iter() .map(ReinholdWord::new) .collect();