diff options
-rw-r--r-- | tests/record.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/record.c b/tests/record.c index f5c638b..896c04e 100644 --- a/tests/record.c +++ b/tests/record.c @@ -22,9 +22,9 @@ START_TEST (test_records_handler) { void* rdata = NULL; ssize_t len; - len = record_rdata_from_str(&rdata, "69.69.69.68", record_class_from_str("A")); + len = record_rdata_from_str(&rdata, "69.69.69.68", record_type_from_str("A")); ck_assert_int_eq(len,4); - ck_assert_uint_eq(*((uint32_t*)rdata),0x45454544); + ck_assert_uint_eq(*((uint32_t*)rdata),0x44454545); free(rdata); } |