Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Oct 17, 2023
1 parent a56ec48 commit c92c7ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions melior/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ mod tests {
let one = Context::new();
let other = Context::new();

let one_ref = unsafe { ContextRef::from_raw(one.to_raw()) };
let other_ref = unsafe { ContextRef::from_raw(other.to_raw()) };
let one_ref = one.to_ref();
let other_ref = other.to_ref();

assert_eq!(&one, &one_ref);
assert_eq!(&one_ref, &one);
Expand Down

0 comments on commit c92c7ba

Please sign in to comment.