repl: get Str working properly in CLI and Wasm REPLs

This commit is contained in:
Brian Carroll 2022-02-23 23:10:51 +00:00
parent 9544b3ba6c
commit 3537f90e6d
7 changed files with 36 additions and 54 deletions

View file

@ -254,6 +254,7 @@ pub fn expect_success(input: &'static str, expected: &str) {
assert_eq!(output, expected);
}
#[allow(dead_code)]
pub fn expect_failure(input: &'static str, expected: &str) {
let (ok, output) = run(input);
assert_eq!(ok, false);