This commit is contained in:
Dan Gohman
2019-11-07 16:28:57 -08:00
parent 2411831964
commit 001272fa7d

View File

@@ -133,7 +133,11 @@ mod wasm_tests {
avoid_keywords(&stemstr.replace("-", "_")) avoid_keywords(&stemstr.replace("-", "_"))
)?; )?;
writeln!(out, " setup_log();")?; writeln!(out, " setup_log();")?;
write!(out, " let path = std::path::Path::new(r#\"{}\"#);", path.display())?; write!(
out,
" let path = std::path::Path::new(r#\"{}\"#);",
path.display()
)?;
writeln!(out, " let data = utils::read_wasm(path)?;")?; writeln!(out, " let data = utils::read_wasm(path)?;")?;
writeln!( writeln!(
out, out,