Skip to content

Commit dc3bce7

Browse files
Merge pull request #112 from isislovecruft/fix/108-test-typo
Fix #108 unit test typo
2 parents 705c207 + 11c89b1 commit dc3bce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ macro_rules! generate_integer_conditional_select_tests {
5858
let x: $t = 0; // all 0 bits
5959
let y: $t = !0; // all 1 bits
6060

61-
assert_eq!(<$t>::conditional_select(&x, &y, 0.into()), 0);
61+
assert_eq!(<$t>::conditional_select(&x, &y, 0.into()), x);
6262
assert_eq!(<$t>::conditional_select(&x, &y, 1.into()), y);
6363

6464
let mut z = x;

0 commit comments

Comments
 (0)