summaryrefslogtreecommitdiffstats
path: root/tests/8byte_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/8byte_tests.c')
-rw-r--r--tests/8byte_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/8byte_tests.c b/tests/8byte_tests.c
index 64c1a399..6166f1d7 100644
--- a/tests/8byte_tests.c
+++ b/tests/8byte_tests.c
@@ -56,10 +56,10 @@ START_TEST (test_one_byte)
uint64_t data = 0xFA00000000000000;
uint64_t result = get_bit_field(data, 0, 4, false);
fail_unless(result == 0xF,
- "First 4 bits in 0x%llx was 0x%llx instead of 0xF", data, result);
+ "First nibble in 0x%llx was 0x%llx instead of 0xF", data, result);
result = get_bit_field(data, 4, 4, false);
fail_unless(result == 0xA,
- "First 4 bits in 0x%llx was 0x%llx instead of 0xA", data, result);
+ "Second nibble in 0x%llx was 0x%llx instead of 0xA", data, result);
result = get_bit_field(data, 0, 8, false);
fail_unless(result == 0xFA,
"All bits in 0x%llx were 0x%llx instead of 0x%llx", data, result, data);