mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
repl: get Str working properly in CLI and Wasm REPLs
This commit is contained in:
parent
9544b3ba6c
commit
3537f90e6d
7 changed files with 36 additions and 54 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue