From 964c7dbcf0e3f09cd04fe65a36905470d494d2f7 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:41:47 +0100 Subject: [PATCH] update repl_basic_test because of #6525 --- ci/repl_basic_test/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/repl_basic_test/src/main.rs b/ci/repl_basic_test/src/main.rs index 2d64944c64..c64498a90b 100644 --- a/ci/repl_basic_test/src/main.rs +++ b/ci/repl_basic_test/src/main.rs @@ -7,7 +7,7 @@ use std::time::Duration; fn roc_repl_session() -> Result { let roc_repl = PtyReplSession { echo_on: false, - prompt: "\u{1b}[0K\u{1b}[34m»\u{1b}[0m ".to_string(), + prompt: "\u{1b}[0K\u{1b}[1;36m»\u{1b}[0m ".to_string(), pty_session: spawn("./roc repl", Some(7000))?, quit_command: None, }; @@ -23,8 +23,8 @@ fn main() -> Result<(), Error> { thread::sleep(Duration::from_secs(1)); - match repl.exp_regex(r".*2\u{1b}\[35m : \u{1b}\[0mNum *.*") { - Ok((a, b)) => { + match repl.exp_regex(r".*2\u{1b}\[1;32m : \u{1b}\[0mNum *.*") { // 2 : Num + Ok(_) => { println!("Expected output received."); return Ok(()); }