about summary refs log tree commit diff
path: root/tvix/nix-compat/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src')
-rw-r--r--tvix/nix-compat/src/nixbase32.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixbase32.rs b/tvix/nix-compat/src/nixbase32.rs
index 0c7843fc8982..3d1c276c63bb 100644
--- a/tvix/nix-compat/src/nixbase32.rs
+++ b/tvix/nix-compat/src/nixbase32.rs
@@ -150,7 +150,7 @@ mod tests {
             }
             None => {
                 // the decode needs to be an error
-                assert_eq!(true, super::decode(enc.as_bytes()).is_err());
+                assert!(super::decode(enc.as_bytes()).is_err());
             }
         }
     }