Skip to content

Commit 7fd9c35

Browse files
committed
Go
1 parent dedd257 commit 7fd9c35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

program/rust/src/tests/test_upd_price.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn test_upd_price() {
9393
assert_eq!(price_data.price_cumulative.num_down_slots, 0);
9494
}
9595

96-
// add some prices for current slot - get rejected
96+
// add some prices for a slot that is not greater than the current published slot
9797
populate_instruction(&mut instruction_data, 43, 2, 1);
9898

9999
assert_eq!(

program/rust/src/tests/test_upd_price_no_fail_on_error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fn test_upd_price_no_fail_on_error_no_fail_on_error() {
123123
assert_eq!(price_data.agg_.status_, PC_STATUS_TRADING);
124124
}
125125

126-
// Invalid updates, such as publishing a price component with a pub_slot_ that's lower than the price component stored in the program
126+
// Invalid updates, such as publishing a price component with a pub_slot_ that's lower or equal than the price component stored in the program
127127
// should still fail silently and have no effect.
128128

129129
// Check that the normal upd_price fails

0 commit comments

Comments
 (0)