Skip to content

Commit 4565643

Browse files
committed
test: add extra check
1 parent 65b352e commit 4565643

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/src/bank/pyth_accumulator_tests.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ fn test_update_accumulator_sysvar() {
186186
}
187187

188188
// Feature should now be enabled on the new bank as the epoch has changed.
189-
assert!(!bank
189+
assert!(bank
190190
.feature_set
191191
.is_active(&feature_set::enable_accumulator_sysvar::id()));
192192

@@ -778,6 +778,7 @@ fn test_accumulator_v2(generate_buffers: [bool; 4]) {
778778
.sorted_unstable()
779779
.dedup()
780780
.collect::<Vec<_>>();
781+
assert_eq!(messages.len(), 8);
781782

782783
// Trigger Aggregation. We freeze instead of new_from_parent so
783784
// we can keep access to the bank.

0 commit comments

Comments
 (0)