From ae63040934f954b95444023f8c3962803f9c782f Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 30 Jun 2025 21:11:54 -0400 Subject: Fix bats tests --- tests/justify.bats | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) (limited to 'tests') diff --git a/tests/justify.bats b/tests/justify.bats index 6fac7ef..86ae4df 100644 --- a/tests/justify.bats +++ b/tests/justify.bats @@ -19,26 +19,18 @@ EOF Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt EOF assert_success - expected_output="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do -eiusmod tempor incididunt" + expected_output="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod +tempor incididunt" assert_output "$expected_output" } @test "lines are justified to both margins except last line with custom line width" { - run "${JUSTIFY_BIN}" -w 60 <