summaryrefslogtreecommitdiff
path: root/girepository/gthash-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/gthash-test.c')
-rw-r--r--girepository/gthash-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/girepository/gthash-test.c b/girepository/gthash-test.c
index 7909a0c8..ea811e35 100644
--- a/girepository/gthash-test.c
+++ b/girepository/gthash-test.c
@@ -47,10 +47,10 @@ test_build_retrieve (void)
_gi_typelib_hash_builder_destroy (builder);
- g_assert (_gi_typelib_hash_search (buf, "Action") == 0);
- g_assert (_gi_typelib_hash_search (buf, "ZLibDecompressor") == 42);
- g_assert (_gi_typelib_hash_search (buf, "VolumeMonitor") == 9);
- g_assert (_gi_typelib_hash_search (buf, "FileMonitorFlags") == 31);
+ g_assert (_gi_typelib_hash_search (buf, "Action", 4) == 0);
+ g_assert (_gi_typelib_hash_search (buf, "ZLibDecompressor", 4) == 42);
+ g_assert (_gi_typelib_hash_search (buf, "VolumeMonitor", 4) == 9);
+ g_assert (_gi_typelib_hash_search (buf, "FileMonitorFlags", 4) == 31);
}
int