mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
Meta: Un-escape escaped strings when generating Wasm tests
This commit is contained in:
parent
4060f18d7e
commit
f0e7e5bbe8
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue