diff options
Diffstat (limited to 'tests/bits/bitrev_test.c')
-rw-r--r-- | tests/bits/bitrev_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/bits/bitrev_test.c b/tests/bits/bitrev_test.c index ed3939a3..4a3c1b47 100644 --- a/tests/bits/bitrev_test.c +++ b/tests/bits/bitrev_test.c @@ -299,10 +299,11 @@ int main(int argc, char **argv) for (offs = 0; offs < 13; offs++) { sh_chk(in1, ARRAY_SIZE(in1), offs, true); sh_chk(in1, ARRAY_SIZE(in1), offs, false); - sh_chk(in2, ARRAY_SIZE(in2), offs, true); /* in2 is too short to shift left 12 nibbles */ - if (offs < 12) + if (offs < 12) { + sh_chk(in2, ARRAY_SIZE(in2), offs, true); sh_chk(in2, ARRAY_SIZE(in2), offs, false); + } } return 0; } |