Skip to content

Commit

Permalink
fix test_bcs_get_positive_samples
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed Jun 6, 2024
1 parent 77418a0 commit d842f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde-generate/tests/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ fn test_bincode_get_positive_samples() {
// This test requires --release because of deserialization of long (unit) vectors.
#[cfg(not(debug_assertions))]
fn test_bcs_get_positive_samples() {
assert_eq!(test_get_positive_samples(Runtime::Bcs), 100);
assert_eq!(test_get_positive_samples(Runtime::Bcs), 82);
}

// Make sure all the "positive" samples successfully deserialize with the reference Rust
Expand Down

0 comments on commit d842f82

Please sign in to comment.