mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(semantic): use assert_eq! instead of assert! (crates/oxc_semantic/src/lib.rs) (#8127)
related to https://github.com/oxc-project/oxc/pull/8124
This commit is contained in:
parent
e676fdfd83
commit
eb0f57f40f
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue