Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Apr 12, 2024
1 parent f5f0cb0 commit 8872a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion program/rust/src/tests/test_upd_price.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fn test_upd_price() {
assert_eq!(price_data.agg_.status_, PC_STATUS_UNKNOWN);
}

// add some prices for a slot that is not greater than the current published slot
// a publisher's component pub_slot_ has to be strictly increasing -- get rejected
populate_instruction(&mut instruction_data, 43, 2, 1);

assert_eq!(
Expand Down
2 changes: 1 addition & 1 deletion program/rust/src/tests/test_upd_price_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fn test_upd_price_v2() -> Result<(), Box<dyn std::error::Error>> {
assert_eq!(price_data.price_cumulative.num_down_slots, 0);
}

// add some prices for current slot - get rejected
// a publisher's component pub_slot_ has to be strictly increasing -- get rejected
populate_instruction(&mut instruction_data, 43, 2, 1);

assert_eq!(
Expand Down

0 comments on commit 8872a0c

Please sign in to comment.