Commit 3ad092e1e7

Luuk de Gram <luuk@degram.dev>
2023-04-14 06:41:01
test-link: update type link test due start.zig
1 parent d755f67
Changed files (1)
test
link
wasm
test/link/wasm/type/build.zig
@@ -26,10 +26,10 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize
 
     const check_lib = lib.checkObject();
     check_lib.checkStart("Section type");
-    // only 2 entries, although we have 3 functions.
+    // only 3 entries, although we have more functions.
     // This is to test functions with the same function signature
     // have their types deduplicated.
-    check_lib.checkNext("entries 2");
+    check_lib.checkNext("entries 3");
     check_lib.checkNext("params 1");
     check_lib.checkNext("type i32");
     check_lib.checkNext("returns 1");