From b9a9883dbb93b8d92ad332bd404b70c7bbd98852 Mon Sep 17 00:00:00 2001 From: Tudor Golubenco Date: Thu, 15 Feb 2024 12:56:33 +0100 Subject: [PATCH] Remove unit-test until we have a way to run them --- examples/char_count_zig/src/main.zig | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/char_count_zig/src/main.zig b/examples/char_count_zig/src/main.zig index 2a8756c..57cbb11 100644 --- a/examples/char_count_zig/src/main.zig +++ b/examples/char_count_zig/src/main.zig @@ -24,13 +24,3 @@ fn char_count_zig(input_text: []const u8, target_char: []const u8) !u32 { } return count; } - -// TODO: -// how can we compile these into the lib and run them from within postgres? -test "char_count_zig happy path" { - const input_text = "Hello World"; - const target_char = "l"; - const expected_count: u32 = 3; - const actual_count = try char_count_zig(input_text, target_char); - try std.testing.expectEqual(expected_count, actual_count); -}