From 1fe1b917b71f6897deaf89f5ee725614cba9b693 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 25 Nov 2024 12:59:43 +0000 Subject: test: fix login copy appended 'via cli arguments' to 'logged in as fred' during login step --- tests/ngit_login.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/ngit_login.rs') diff --git a/tests/ngit_login.rs b/tests/ngit_login.rs index 9b467b3..c928cc4 100644 --- a/tests/ngit_login.rs +++ b/tests/ngit_login.rs @@ -87,7 +87,7 @@ mod with_relays { p.expect("searching for profile...\r\n")?; - p.expect_end_with("logged in as fred\r\n")?; + p.expect_end_with("logged in as fred via cli arguments\r\n")?; for p in [51, 52] { shutdown_relay(8000 + p)?; } @@ -437,7 +437,7 @@ mod with_relays { p.expect("searching for profile...\r\n")?; - p.expect_end_with("logged in as fred\r\n")?; + p.expect_end_with("logged in as fred via cli arguments\r\n")?; for p in [51, 52] { shutdown_relay(8000 + p)?; } @@ -504,7 +504,7 @@ mod with_relays { p.expect("searching for profile...\r\n")?; - p.expect_end_with("logged in as fred\r\n")?; + p.expect_end_with("logged in as fred via cli arguments\r\n")?; for p in [51, 52] { shutdown_relay(8000 + p)?; } @@ -566,7 +566,7 @@ mod with_relays { p.expect("searching for profile...\r\n")?; - p.expect_end_with("logged in as fred\r\n")?; + p.expect_end_with("logged in as fred via cli arguments\r\n")?; for p in [51, 52] { shutdown_relay(8000 + p)?; } @@ -747,7 +747,7 @@ mod with_relays { p.expect("saved login details to local git config\r\n")?; - p.expect_end_eventually_with("logged in as fred\r\n")?; + p.expect_end_eventually_with("logged in as fred via cli arguments\r\n")?; for p in [51, 52] { shutdown_relay(8000 + p)?; -- cgit v1.2.3