Fixed registry test case

This commit is contained in:
Dan Hirsch 2014-01-04 23:39:59 +01:00
parent 3da3e70f65
commit 692f914986

View file

@ -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) {