summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorNils <git@nkn-it.de>2023-02-19 16:53:45 +0100
committerNils <git@nkn-it.de>2023-02-19 16:53:45 +0100
commitfe0389f456a56c8dfbe8958992632771f8be9f04 (patch)
treeb89e2ac8ecd64a8e1734c6c66237ba7dfbb7b33d /test.sh
parent660e83d5bd6f0ac2fbed2a6aea0c71b698be8eb7 (diff)
fix test
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index c33e947..8f17172 100644
--- a/test.sh
+++ b/test.sh
@@ -30,7 +30,7 @@ assert_end examples
assert_raises "bash gallery.sh -t Test"
assert "cat index.html | grep '<title>Test</title>' | tr -d '\011\012\015'" '<title>Test</title>'
-assert "cat index.html | grep '__thumbs/Landscape_1.jpg.html' | tr -d '\011\012\015'" '<a href="__thumbs/Landscape_1.jpg.html"><img src="__thumbs/187/Landscape_1.jpg" alt="Thumbnail: Landscape_1.jpg" class="rounded mx-auto d-block"></a>'
+assert "cat index.html | grep '__thumbs/Landscape_1.jpg.html' | tr -d '\011\012\015'" '<a href="__thumbs/Landscape_1.jpg.html"><img src="__thumbs/406/Landscape_1.jpg" alt="Thumbnail: Landscape_1.jpg" class="rounded mx-auto d-block" height="203"></a>'
assert "cat __thumbs/Landscape_1.jpg.html | grep '<title>Landscape_1.jpg</title>' | tr -d '\011\012\015'" '<title>Landscape_1.jpg</title>'
assert "cat __thumbs/Landscape_1.jpg.html | grep 'Resolution' | tr -d '\040\011\012\015'" 'Resolution:600x450'