[test] Actually hook up hb_script_t tests
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 11 Apr 2011 23:43:51 +0000 (19:43 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 11 Apr 2011 23:43:51 +0000 (19:43 -0400)
I really shall find a way to automate the test enumeration.  Otherwise
it's too easy to add a test and wrongly hook it up.  Did it twice today.

test/test-types.c

index 15221a8..4a542fc 100644 (file)
@@ -152,14 +152,14 @@ test_types_language (void)
 }
 
 int
-main (int   argc, char **argv)
+main (int argc, char **argv)
 {
   g_test_init (&argc, &argv, NULL);
 
   g_test_add_func ("/types/int", test_types_int);
   g_test_add_func ("/types/direction", test_types_direction);
   g_test_add_func ("/types/tag", test_types_tag);
-  g_test_add_func ("/types/script", test_types_tag);
+  g_test_add_func ("/types/script", test_types_script);
   g_test_add_func ("/types/language", test_types_language);
 
   return g_test_run();