From 49a5bcfba626a8fc01612d0b3f50b56c51529618 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 5 May 2016 14:46:40 +0100 Subject: [PATCH] [bitops] Fix typo in test case Signed-off-by: Michael Brown --- src/tests/bitops_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/bitops_test.c b/src/tests/bitops_test.c index a689b949..f29fc680 100644 --- a/src/tests/bitops_test.c +++ b/src/tests/bitops_test.c @@ -60,7 +60,7 @@ static void bitops_test_exec ( void ) { /* Test clear_bit() */ clear_bit ( 0, bits ); - ok ( bits[5] == 0x00 ); + ok ( bits[0] == 0x00 ); bits[5] = 0xff; clear_bit ( 42, bits ); ok ( bits[5] == 0xfb );