Some final touches to ensure ./x.py test --stage 0 src/lib* works

This commit is contained in:
kennytm 2018-05-06 01:02:05 +08:00
parent f24915b67f
commit 02f6a0335f
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C
4 changed files with 5 additions and 2 deletions

View file

@ -98,6 +98,7 @@ mod tests {
}
#[test]
#[cfg(not(stage0))]
fn test_reverse_bits() {
assert_eq!(A.reverse_bits().reverse_bits(), A);
assert_eq!(B.reverse_bits().reverse_bits(), B);