mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
further improved tips UX, fixed cli.rs assert
This commit is contained in:
parent
d6b59e7091
commit
a46d4fa1c6
2 changed files with 29 additions and 7 deletions
|
@ -3,7 +3,7 @@ use std::io::Write;
|
|||
use std::path::PathBuf;
|
||||
use std::process::{Command, ExitStatus, Stdio};
|
||||
|
||||
use roc_repl_cli::{INSTRUCTIONS, WELCOME_MESSAGE};
|
||||
use roc_repl_cli::{TIPS, WELCOME_MESSAGE};
|
||||
use roc_test_utils::assert_multiline_str_eq;
|
||||
|
||||
const ERROR_MESSAGE_START: char = '─';
|
||||
|
@ -75,7 +75,7 @@ fn repl_eval(input: &str) -> Out {
|
|||
|
||||
// Remove the initial instructions from the output.
|
||||
|
||||
let expected_instructions = format!("{}{}", WELCOME_MESSAGE, INSTRUCTIONS);
|
||||
let expected_instructions = format!("{}{}", WELCOME_MESSAGE, TIPS);
|
||||
let stdout = String::from_utf8(output.stdout).unwrap();
|
||||
|
||||
assert!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue