Skip to content

Commit f5f0cb0

Browse files
committed
Go
1 parent a360050 commit f5f0cb0

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
@@ -82,7 +82,7 @@ fn test_upd_price() {
8282
assert_eq!(price_data.agg_.status_, PC_STATUS_UNKNOWN);
8383
}
8484

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

8888
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
@@ -126,7 +126,7 @@ fn test_upd_price_no_fail_on_error_no_fail_on_error() {
126126
assert_eq!(price_data.agg_.status_, PC_STATUS_UNKNOWN);
127127
}
128128

129-
// Invalid updates, such as publishing a price component with a pub_slot_ that's lower than the price component stored in the program
129+
// 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
130130
// should still fail silently and have no effect.
131131

132132
// Check that the normal upd_price fails

0 commit comments

Comments
 (0)