Fix repl multiline string test

This commit is contained in:
Richard Feldman 2022-10-31 07:05:18 -04:00
parent 212090769f
commit 664526a167
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 24 additions and 13 deletions

View file

@ -9,10 +9,10 @@ use roc_test_utils::assert_multiline_str_eq;
const ERROR_MESSAGE_START: char = '─';
#[derive(Debug)]
struct Out {
stdout: String,
stderr: String,
status: ExitStatus,
pub struct Out {
pub stdout: String,
pub stderr: String,
pub status: ExitStatus,
}
fn path_to_roc_binary() -> PathBuf {
@ -39,7 +39,7 @@ fn path_to_roc_binary() -> PathBuf {
path
}
fn repl_eval(input: &str) -> Out {
pub fn repl_eval(input: &str) -> Out {
let mut cmd = Command::new(path_to_roc_binary());
cmd.arg("repl");