From 72a370691368bac86b9f201117be01295ba753c4 Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Mon, 30 Jul 2018 23:22:29 +0800 Subject: [PATCH] use the same expect string --- tests/spec/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/run.rs b/tests/spec/run.rs index a45d72b..3f69cd8 100644 --- a/tests/spec/run.rs +++ b/tests/spec/run.rs @@ -344,7 +344,7 @@ fn try_spec(name: &str) -> Result<(), Error> { use std::io::Read; let mut spec_source = Vec::new(); - let mut spec_file = File::open(&spec_script_path).expect("Can't open the file"); + let mut spec_file = File::open(&spec_script_path).expect("Can't open file"); spec_file.read_to_end(&mut spec_source).expect("Can't read file"); let mut parser = ScriptParser::from_source_and_name(&spec_source, &format!("{}.wast", name)).expect("Can't read spec script");