Skip to content

Commit

Permalink
Fix cut&paste-caused logic error in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdaum committed Jan 6, 2024
1 parent c62d660 commit 1c543e0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions crates/db/src/tuplebox/tuples/slotbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,17 +597,11 @@ mod tests {
tuples.push((tuple_id, tuple));
}
for (tuple, expected_value) in tuples {
let retrieved_domain = tuple.slot_buffer();
let retrieved_codomain = tuple.slot_buffer();
let retrieved_buffer = tuple.slot_buffer();
assert_eq!(
expected_value,
retrieved_domain.as_slice(),
"Tuple domain mismatch"
);
assert_eq!(
expected_value,
retrieved_codomain.as_slice(),
"Tuple codomain mismatch"
retrieved_buffer.as_slice(),
"Slot value mismatch"
);
}
}
Expand Down

0 comments on commit 1c543e0

Please sign in to comment.