Skip to content

Commit

Permalink
Fix the fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Mar 30, 2015
1 parent ee76be5 commit 883adc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/libcoretest/num/int_macros.rs
Expand Up @@ -86,9 +86,9 @@ mod tests {

#[test]
fn test_count_zeros() {
assert!(A.count_zeros() == BITS - 3);
assert!(B.count_zeros() == BITS - 2);
assert!(C.count_zeros() == BITS - 5);
assert!(A.count_zeros() == BITS as u32 - 3);
assert!(B.count_zeros() == BITS as u32 - 2);
assert!(C.count_zeros() == BITS as u32 - 5);
}

#[test]
Expand Down
6 changes: 3 additions & 3 deletions src/libcoretest/num/uint_macros.rs
Expand Up @@ -54,9 +54,9 @@ mod tests {

#[test]
fn test_count_zeros() {
assert!(A.count_zeros() == BITS - 3);
assert!(B.count_zeros() == BITS - 2);
assert!(C.count_zeros() == BITS - 5);
assert!(A.count_zeros() == BITS as u32 - 3);
assert!(B.count_zeros() == BITS as u32 - 2);
assert!(C.count_zeros() == BITS as u32 - 5);
}

#[test]
Expand Down

0 comments on commit 883adc6

Please sign in to comment.