diff options
Diffstat (limited to 'bench/ffi/plus100/plus100.bun.js')
-rw-r--r-- | bench/ffi/plus100/plus100.bun.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/ffi/plus100/plus100.bun.js b/bench/ffi/plus100/plus100.bun.js index 3ddaff975..3eb4de02e 100644 --- a/bench/ffi/plus100/plus100.bun.js +++ b/bench/ffi/plus100/plus100.bun.js @@ -28,3 +28,7 @@ bench("noop() ", () => { // prevents gc and can help with jit optimizing out functions await run({ collect: false, percentiles: true }); console.log("\n"); + +if (plus100(1) !== 101) { + throw new Error("plus100(1) !== 101"); +} |