Skip to content

Commit 481109b

Browse files
committed
Fix loop
1 parent 181f290 commit 481109b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit/src/hir_effect/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ mod tests {
170170
#[test]
171171
fn union_never_shrinks() {
172172
// iterate over all effect entries from bottom to top
173-
for i in 0..2_u8.pow(bits::NumEffectBits as u32) {
173+
for i in [0, 1, 4, 6, 10, 15] {
174174
let e = Effect::from_bits(i);
175175
// Testing on bottom, top, and some arbitrary element in the middle
176176
assert_subeffect(effects::None, effects::None.union(e));

0 commit comments

Comments
 (0)