further improved tips UX, fixed cli.rs assert

This commit is contained in:
Anton-4 2022-10-03 15:31:34 +02:00
parent d6b59e7091
commit a46d4fa1c6
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
2 changed files with 29 additions and 7 deletions

View file

@ -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!(