Skip to content

Commit

Permalink
assert_eq boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Jan 6, 2024
1 parent ed87332 commit 5c20dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/transformers/js/core/src/hoist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3473,7 +3473,7 @@ mod tests {
.collect::<Vec<_>>(),
vec![&BailoutReason::ThisInExport]
);
assert_eq!(collect.should_wrap, true);
assert!(collect.should_wrap);

// module is not wrapped when `this` inside a class collides with an export
let (collect, _code, _hoist) = parse(
Expand Down Expand Up @@ -3505,6 +3505,6 @@ mod tests {
.collect::<Vec<_>>(),
Vec::<&BailoutReason>::new()
);
assert_eq!(collect.should_wrap, false);
assert!(!collect.should_wrap);
}
}

0 comments on commit 5c20dd5

Please sign in to comment.