From 19bd5868eb72ea3e72e29359a0f06056aa609140 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Fri, 6 Jan 2023 08:32:26 +0200 Subject: [PATCH] Fix wasm tests --- lib/binding_web/exports.json | 7 ++++--- lib/binding_web/test/parser-test.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/binding_web/exports.json b/lib/binding_web/exports.json index 3fe11cdf..d4b6eb5e 100644 --- a/lib/binding_web/exports.json +++ b/lib/binding_web/exports.json @@ -4,13 +4,14 @@ "_malloc", "_realloc", - "__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm", "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm", - "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm", "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm", "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc", - "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev", "__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw", + "__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm", + "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm", + "__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw", + "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev", "__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev", "__ZdlPv", "__Znwm", diff --git a/lib/binding_web/test/parser-test.js b/lib/binding_web/test/parser-test.js index c76b49c7..fcd714b2 100644 --- a/lib/binding_web/test/parser-test.js +++ b/lib/binding_web/test/parser-test.js @@ -153,7 +153,7 @@ describe("Parser", () => { 'type: (primitive_type) ' + 'declarator: (init_declarator ' + 'declarator: (pointer_declarator declarator: (identifier)) ' + - 'value: (raw_string_literal))))' + 'value: (raw_string_literal delimiter: (raw_string_delimiter) (raw_string_content) (raw_string_delimiter)))))' ); }).timeout(5000);