Skip to content

Commit

Permalink
Merge pull request #112 from isislovecruft/fix/108-test-typo
Browse files Browse the repository at this point in the history
Fix #108 unit test typo
  • Loading branch information
isislovecruft authored Aug 15, 2023
2 parents 705c207 + 11c89b1 commit dc3bce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ macro_rules! generate_integer_conditional_select_tests {
let x: $t = 0; // all 0 bits
let y: $t = !0; // all 1 bits

assert_eq!(<$t>::conditional_select(&x, &y, 0.into()), 0);
assert_eq!(<$t>::conditional_select(&x, &y, 0.into()), x);
assert_eq!(<$t>::conditional_select(&x, &y, 1.into()), y);

let mut z = x;
Expand Down

0 comments on commit dc3bce7

Please sign in to comment.