Skip to content

Commit

Permalink
test: fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Jun 26, 2024
1 parent b47e2a8 commit a99fce0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contracts/sumtree-orderbook/src/tests/test_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,11 @@ fn test_orders_by_ticks() {
);
});
assert_eq!(
res.orders, test.expected_output,
res.orders,
test.expected_output
.iter()
.map(|o| o.clone().with_placed_at(env.block.time))
.collect::<Vec<LimitOrder>>(),
"{}: output did not match",
test.name
);
Expand Down

0 comments on commit a99fce0

Please sign in to comment.