summary refs log tree commit diff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 3a94dee..bc1d662 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -38,6 +38,6 @@ test "removing element" {
     const data: i32 = 4;
     _ = hashtable.hashtable_put(ht, @constCast("key"), @constCast(&data));
     _ = hashtable.hashtable_remove(ht, @constCast("key"));
-    const res: ?*anyopaque = hashtable.hashtable_get(ht, @constCast("key"));
+    const res = hashtable.hashtable_get(ht, @constCast("key"));
     try std.testing.expectEqual(null, res);
 }