From 692f9149868dde0a28af007482b6dd310a077dec Mon Sep 17 00:00:00 2001 From: Dan Hirsch <thequux@upstandinghackers.com> Date: Sat, 4 Jan 2014 23:39:59 +0100 Subject: [PATCH] Fixed registry test case --- src/t_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_misc.c b/src/t_misc.c index 74a57ca9..92c2b326 100644 --- a/src/t_misc.c +++ b/src/t_misc.c @@ -26,7 +26,7 @@ static void test_tt_registry(void) { g_test_message("Unknown token type should not return a name"); g_test_fail(); } - g_check_cmp_int32(h_get_token_type_number("com.upstandinghackers.test.unkown_token_type"), ==, -1); + g_check_cmp_int32(h_get_token_type_number("com.upstandinghackers.test.unkown_token_type"), ==, 0); } void register_misc_tests(void) { -- GitLab