Skip to content

Commit 04b4c4b

Browse files
committed
Replace .not() in test_suite
1 parent 5bfeb00 commit 04b4c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_suite/common.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn test_foo() {
5050
assert!(!(Test::A | Test::B | Test::C).contains(Test::A | Test::D));
5151
assert_eq!(!(Test::A | Test::B), Test::C | Test::D);
5252
assert_eq!((Test::A | Test::B).bits(), 3);
53-
assert_eq!((Test::A | Test::B).not().bits(), 12);
53+
assert_eq!((!(Test::A | Test::B)).bits(), 12);
5454
assert_eq!(BitFlags::<Test>::all().bits(), 15);
5555
{
5656
let mut b = Test::A | Test::B | Test::C;

0 commit comments

Comments
 (0)