Skip to content

Commit

Permalink
update rustfmt.toml to ignore and fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Jul 15, 2019
1 parent 53d7ecb commit affb946
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/wasi-tests/tests/wasitests/envvar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
5 changes: 4 additions & 1 deletion lib/wasi-tests/tests/wasitests/fseek.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
Expand Down
5 changes: 4 additions & 1 deletion lib/wasi-tests/tests/wasitests/mapdir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
Expand Down
3 changes: 2 additions & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ignore = [
"src/spectests",
"src/emtests",
"src/emscripten-tests",
"src/wasi-tests",
]

0 comments on commit affb946

Please sign in to comment.