Skip to content

Commit ca432a0

Browse files
Apply suggested fix to tests/wasm32.rs from Copilot Autofix (#618)
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 4c9d2fc commit ca432a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/wasm32.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ fn test_decompress_lzma() {
4949
lzma::decompress_lzma();
5050
}
5151

52-
// time needs the wasm-bindgen feature
53-
// or you get the error
54-
// time not implemented on this platform
52+
// The end_to_end tests depend on a time implementation (e.g. the `time` crate or similar)
53+
// that must be compiled with its `wasm-bindgen` feature when targeting `wasm32`.
54+
// Without that feature enabled, running these tests will fail with "time not implemented on this platform".
5555
mod end_to_end;
5656
#[wasm_bindgen_test]
5757
fn test_end_to_end() {

0 commit comments

Comments
 (0)