diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-08-10 23:41:36 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-12 21:03:53 +0200 |
commit | f0e7e5bbe8871158b79fac9e2e9cae6d3be51933 (patch) | |
tree | 8f16085fa0c7a85ce26e7f95b1bd8b7be4625bbd /Meta | |
parent | 4060f18d7efc8d87c6bc72ce55292967106060d1 (diff) | |
download | serenity-f0e7e5bbe8871158b79fac9e2e9cae6d3be51933.zip |
Meta: Un-escape escaped strings when generating Wasm tests
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/generate-libwasm-spec-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/generate-libwasm-spec-test.py b/Meta/generate-libwasm-spec-test.py index 0b5b1b83a2..fffdc09280 100644 --- a/Meta/generate-libwasm-spec-test.py +++ b/Meta/generate-libwasm-spec-test.py @@ -69,7 +69,7 @@ def generate_module_source_for_compilation(entries): if type(entry) == tuple and len(entry) == 1 and type(entry[0]) == str: s += entry[0] + ' ' elif type(entry) == str: - s += json.dumps(entry) + ' ' + s += json.dumps(entry).replace('\\\\', '\\') + ' ' elif type(entry) == list: s += generate_module_source_for_compilation(entry) else: |