diff options
Diffstat (limited to 'Meta/generate-libwasm-spec-test.py')
-rw-r--r-- | Meta/generate-libwasm-spec-test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/generate-libwasm-spec-test.py b/Meta/generate-libwasm-spec-test.py index 476a8db949..e06737aaf7 100644 --- a/Meta/generate-libwasm-spec-test.py +++ b/Meta/generate-libwasm-spec-test.py @@ -295,8 +295,8 @@ def genresult(ident, entry): if entry['kind'] == 'return': return ( - f'let {ident}_result = {expectation};\n ' - f'expect({ident}_result).toBe({genarg(entry["result"])})\n ' if entry["result"] is not None else '' + f'let {ident}_result = {expectation};\n ' + + (f'expect({ident}_result).toBe({genarg(entry["result"])})\n ' if entry["result"] is not None else '') ) if entry['kind'] == 'trap': |