[wasm][test] Fix typo in module-memory test.

R=sigurds@chromium.org
TEST=mjsunit/wasm/module-memory

Change-Id: I30b52a09d8655340199dc449aaa91e6a351e2111
Reviewed-on: https://chromium-review.googlesource.com/1188567
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Ben Titzer <titzer@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55410}
This commit is contained in:
Michael Starzinger 2018-08-24 15:36:09 +02:00 committed by Commit Bot
parent 2346275c08
commit dc5cb1f077

View File

@ -168,7 +168,7 @@ function testOOBThrows() {
assertTraps(kTrapMemOutOfBounds, read);
assertTraps(kTrapMemOutOfBounds, write);
if (%IsWasmTrapHandlerEnabled()) {
assertTrue(trap_count + 2 >= %GetWasmRecoveredTrapCount());
assertTrue(trap_count + 2 <= %GetWasmRecoveredTrapCount());
}
}
}