From d8cc9341b86197dee682cb46a39faaa14c13af76 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Thu, 4 Jul 2024 12:05:26 -0700 Subject: [PATCH] Update test/js-api/exception/basic.tentative.any.js Co-authored-by: Ms2ger --- test/js-api/exception/basic.tentative.any.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/js-api/exception/basic.tentative.any.js b/test/js-api/exception/basic.tentative.any.js index dd8264ed..09f8479a 100644 --- a/test/js-api/exception/basic.tentative.any.js +++ b/test/js-api/exception/basic.tentative.any.js @@ -177,6 +177,6 @@ promise_test(async () => { const {instance} = await WebAssembly.instantiate(buffer, { module: { fn, tagI32: tagI32 } }); - result = instance.exports.all_catch_clauses(); + const result = instance.exports.all_catch_clauses(); assert_equals(result, 42); }, "try-table uses all four kinds of catch clauses, one of which catches an exception");