diff --git a/lib/wasi-tests/tests/wasitests/envvar.rs b/lib/wasi-tests/tests/wasitests/envvar.rs index 36952ba34..f32c6c36e 100644 --- a/lib/wasi-tests/tests/wasitests/envvar.rs +++ b/lib/wasi-tests/tests/wasitests/envvar.rs @@ -4,7 +4,7 @@ fn test_envvar() { "../../wasitests/envvar.wasm", "envvar", vec![], - vec!["DOG=1".to_string(),"CAT=2".to_string(),], + vec!["DOG=1".to_string(), "CAT=2".to_string(),], "../../wasitests/envvar.out" ); } diff --git a/lib/wasi-tests/tests/wasitests/fseek.rs b/lib/wasi-tests/tests/wasitests/fseek.rs index 8b1a34feb..e48dd5814 100644 --- a/lib/wasi-tests/tests/wasitests/fseek.rs +++ b/lib/wasi-tests/tests/wasitests/fseek.rs @@ -3,7 +3,10 @@ fn test_fseek() { assert_wasi_output!( "../../wasitests/fseek.wasm", "fseek", - vec![(".".to_string(), ::std::path::PathBuf::from("wasitests/test_fs/hamlet")),], + vec![( + ".".to_string(), + ::std::path::PathBuf::from("wasitests/test_fs/hamlet") + ),], vec![], "../../wasitests/fseek.out" ); diff --git a/lib/wasi-tests/tests/wasitests/mapdir.rs b/lib/wasi-tests/tests/wasitests/mapdir.rs index 057c3076e..efb99c7a4 100644 --- a/lib/wasi-tests/tests/wasitests/mapdir.rs +++ b/lib/wasi-tests/tests/wasitests/mapdir.rs @@ -3,7 +3,10 @@ fn test_mapdir() { assert_wasi_output!( "../../wasitests/mapdir.wasm", "mapdir", - vec![(".".to_string(), ::std::path::PathBuf::from("wasitests/test_fs/hamlet")),], + vec![( + ".".to_string(), + ::std::path::PathBuf::from("wasitests/test_fs/hamlet") + ),], vec![], "../../wasitests/mapdir.out" ); diff --git a/rustfmt.toml b/rustfmt.toml index 4a3e0232a..d590c8b69 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,5 @@ ignore = [ "src/spectests", - "src/emtests", + "src/emscripten-tests", + "src/wasi-tests", ]