Use ? in tests.

This commit is contained in:
Stephen Chung
2023-02-13 08:59:58 +08:00
parent 7da20dd090
commit 7fc72e8c28
9 changed files with 41 additions and 57 deletions

View File

@@ -21,7 +21,7 @@ fn test_comments() -> Result<(), Box<EvalAltResult>> {
42
);
engine.run("/* Hello world */").unwrap();
engine.run("/* Hello world */")?;
Ok(())
}