• Clemens Hammacher's avatar
    [wasm] Fix tests and improve error message · b3ff3903
    Clemens Hammacher authored
    The test "assertThrows(builder.instantiate)" threw a TypeError before,
    which made the test pass, but not because of the feature we wanted to
    test.
    This CL fixes the test to call builder.instantiate correctly, and also
    tests for the correct error message.
    
    Drive-by fix: Fix {expected} and {found} parameters in assertThrows.
    
    R=ahaas@chromium.org
    
    Change-Id: I11c0f63885cc14a36559e637aea60a9da6f1bb8f
    Reviewed-on: https://chromium-review.googlesource.com/472886Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44584}
    b3ff3903
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...