From 25b835f12defd6f1c7d3a2f883b8b549aea65261 Mon Sep 17 00:00:00 2001 From: Thomas Zahner Date: Mon, 12 May 2025 09:57:18 +0200 Subject: [PATCH] Update tests --- lychee-bin/tests/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lychee-bin/tests/cli.rs b/lychee-bin/tests/cli.rs index b00390b..bf191e2 100644 --- a/lychee-bin/tests/cli.rs +++ b/lychee-bin/tests/cli.rs @@ -1118,7 +1118,7 @@ mod cli { mock_server_no_content.uri() ))) .stderr(contains(format!( - "[429] {}/ | Network error: Too Many Requests\n", + "[429] {}/ | Rejected status code (this depends on your \"accept\" configuration): Too Many Requests\n", mock_server_too_many_requests.uri() ))); @@ -1176,11 +1176,11 @@ mod cli { .failure() .code(2) .stdout(contains(format!( - "[418] {}/ | Network error: I\'m a teapot", + r#"[418] {}/ | Rejected status code (this depends on your "accept" configuration): I'm a teapot"#, mock_server_teapot.uri() ))) .stdout(contains(format!( - "[500] {}/ | Network error: Internal Server Error", + r#"[500] {}/ | Rejected status code (this depends on your "accept" configuration): Internal Server Error"#, mock_server_server_error.uri() )));