From 12c78147069963258067058d55ec33c59fb5222f Mon Sep 17 00:00:00 2001 From: Nils K Date: Mon, 15 Mar 2021 22:53:14 +0100 Subject: test fix --- tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index adeaca9..c33e947 100755 --- a/tests.sh +++ b/tests.sh @@ -29,8 +29,8 @@ assert_end examples # $ bash gallery.sh -t Test assert_raises "bash gallery.sh -t Test" -assert "cat index.html | grep '

Test

' | tr -d '\011\012\015'" '' -assert "cat index.html | grep '__thumbs/Landscape_1.jpg.html' | tr -d '\011\012\015'" '' +assert "cat index.html | grep 'Test' | tr -d '\011\012\015'" 'Test' +assert "cat index.html | grep '__thumbs/Landscape_1.jpg.html' | tr -d '\011\012\015'" 'Thumbnail: Landscape_1.jpg' assert "cat __thumbs/Landscape_1.jpg.html | grep 'Landscape_1.jpg' | tr -d '\011\012\015'" 'Landscape_1.jpg' assert "cat __thumbs/Landscape_1.jpg.html | grep 'Resolution' | tr -d '\040\011\012\015'" 'Resolution:600x450' -- cgit v1.2.3