test(js) Fix file permissions, and update a comment.

This commit is contained in:
Ivan Enderlin 2018-06-27 08:33:37 +02:00
parent c16b9a903c
commit c99c0f8483
No known key found for this signature in database
GPG Key ID: 461F31FCE31F4AAD
3 changed files with 4 additions and 3 deletions

View File

@ -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
View File

0
tests/all/js_globals/Object.rs Executable file → Normal file
View File