Skip to content

Commit

Permalink
chore(semantic): use assert_eq! instead of assert! (`crates/oxc_s…
Browse files Browse the repository at this point in the history
…emantic/src/lib.rs`) (#8127)

related to #8124
  • Loading branch information
baseballyama authored Dec 26, 2024
1 parent e676fdf commit eb0f57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_semantic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit eb0f57f

Please sign in to comment.