mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-25 19:11:45 +03:00
test(js) Fix file permissions, and update a comment.
This commit is contained in:
parent
c16b9a903c
commit
c99c0f8483
@ -35,9 +35,10 @@ if_std! {
|
|||||||
// * If a function or method can throw an exception, make it catchable by adding
|
// * If a function or method can throw an exception, make it catchable by adding
|
||||||
// `#[wasm_bindgen(catch)]`.
|
// `#[wasm_bindgen(catch)]`.
|
||||||
//
|
//
|
||||||
// * Add a new `#[test]` to the `tests/all/js_globals.rs` file. If the imported
|
// * Add a new `#[test]` into the appropriate file in the
|
||||||
// function or method can throw an exception, make sure to also add test
|
// `tests/all/js_globals/` directory. If the imported function or
|
||||||
// coverage for that case.
|
// method can throw an exception, make sure to also add test coverage
|
||||||
|
// for that case.
|
||||||
|
|
||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
extern {
|
extern {
|
||||||
|
0
tests/all/js_globals/Array.rs
Executable file → Normal file
0
tests/all/js_globals/Array.rs
Executable file → Normal file
0
tests/all/js_globals/Object.rs
Executable file → Normal file
0
tests/all/js_globals/Object.rs
Executable file → Normal file
Loading…
Reference in New Issue
Block a user