diff --git a/crates/oxc_semantic/src/lib.rs b/crates/oxc_semantic/src/lib.rs index 1680db8df736c..8dabf4e320411 100644 --- a/crates/oxc_semantic/src/lib.rs +++ b/crates/oxc_semantic/src/lib.rs @@ -312,7 +312,7 @@ mod tests { let allocator = Allocator::default(); let source_type: SourceType = SourceType::default().with_typescript(true); let semantic = get_semantic(&allocator, source, source_type); - assert!(semantic.symbols().references.len() == 1); + assert_eq!(semantic.symbols().references.len(), 1); } #[test]