We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b81ab44 commit f1fb384Copy full SHA for f1fb384
src/test/run-make/wasm-export-all-symbols/verify.js
@@ -14,13 +14,13 @@ for (const entry of list) {
14
if (entry.kind == 'function'){
15
nexports += 1;
16
}
17
- my_exports[entry.name] = true;
+ my_exports[entry.name] = entry.kind;
18
19
20
-if (my_exports.foo === undefined)
+if (my_exports.foo != "function")
21
throw new Error("`foo` wasn't defined");
22
23
-if (my_exports.FOO === undefined)
+if (my_exports.FOO != "global")
24
throw new Error("`FOO` wasn't defined");
25
26
if (my_exports.main === undefined) {
0 commit comments