Sign in
fuchsia
/
fuchsia
/
cafe43e483c36c5bfaa6e2decea566ed245832f8
/
.
/
third_party
/
rust_crates
/
vendor
/
wasm-bindgen
/
tests
/
wasm
/
rethrow.js
blob: 70e9c338107ac8776feedad821c5c4b051dd8d85 [
file
] [
log
] [
blame
]
const
wasm
=
require
(
'wasm-bindgen-test.js'
);
const
assert
=
require
(
'assert'
);
exports
.
call_throw_one
=
function
()
{
try
{
wasm
.
throw_one
();
}
catch
(
e
)
{
assert
.
strictEqual
(
e
,
1
);
}
};
exports
.
call_ok
=
function
()
{
wasm
.
nothrow
();
};