Skip to content

Commit 8872a0c

Browse files
committed
fix
1 parent f5f0cb0 commit 8872a0c

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 a slot that is not greater than the current published slot
85+
// a publisher's component pub_slot_ has to be strictly increasing -- get rejected
8686
populate_instruction(&mut instruction_data, 43, 2, 1);
8787

8888
assert_eq!(

program/rust/src/tests/test_upd_price_v2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fn test_upd_price_v2() -> Result<(), Box<dyn std::error::Error>> {
8686
assert_eq!(price_data.price_cumulative.num_down_slots, 0);
8787
}
8888

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

9292
assert_eq!(

0 commit comments

Comments
 (0)