From 58bfcd90514c8b32d11df6773c88ad8e1e315d79 Mon Sep 17 00:00:00 2001 From: John Cavanaugh <59479+cavanaug@users.noreply.github.com> Date: Wed, 13 Aug 2025 23:31:17 -0700 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20reformat=20predicate=20?= =?UTF-8?q?assertions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit style(integration_tests.rs): 🎨 doh, run cargo fmt --- tests/integration_tests.rs | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 213947bb..7887785b 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -314,7 +314,9 @@ fn line_range_context_negative_single_line() { .arg("--line-range=10::-1") .assert() .failure() - .stderr(predicate::str::contains("Invalid context number in N::C format")); + .stderr(predicate::str::contains( + "Invalid context number in N::C format", + )); } #[test] @@ -324,7 +326,9 @@ fn line_range_context_negative_range() { .arg("--line-range=10:12:-1") .assert() .failure() - .stderr(predicate::str::contains("Invalid context number in N:M:C format")); + .stderr(predicate::str::contains( + "Invalid context number in N:M:C format", + )); } #[test] @@ -334,7 +338,9 @@ fn line_range_context_non_numeric_single_line() { .arg("--line-range=10::abc") .assert() .failure() - .stderr(predicate::str::contains("Invalid context number in N::C format")); + .stderr(predicate::str::contains( + "Invalid context number in N::C format", + )); } #[test] @@ -344,7 +350,9 @@ fn line_range_context_non_numeric_range() { .arg("--line-range=10:12:xyz") .assert() .failure() - .stderr(predicate::str::contains("Invalid context number in N:M:C format")); + .stderr(predicate::str::contains( + "Invalid context number in N:M:C format", + )); } #[test]