Commit af87da79 authored by Vojtěch Horký's avatar Vojtěch Horký
Browse files

21: fix album configuration test (thanks VV)

parent 13a1269c
......@@ -179,7 +179,7 @@ compare_front_images() {
</html>'
lima_front="$( jq -r .site.albums[0].image < public_html/.meta.json || true )"
if ! compare_front_images "public_html/lima/$lima_front" 1.jpg public_html/lima/thumb.0000001.jpg; then
if ! compare_front_images "public_html/lima/$lima_front" 1.jpg public_html/lima/thumb.00000001.jpg; then
batslib_print_kv_single_or_multi 8 \
'album' "lima" \
'actual' "$lima_front" \
......@@ -189,7 +189,7 @@ compare_front_images() {
| fail
fi
sierra_front="$( jq -r .site.albums[1].image < public_html/.meta.json || true )"
if ! compare_front_images "public_html/sierra/$sierra_front" 4.jpg public_html/lima/thumb.0000002.jpg; then
if ! compare_front_images "public_html/sierra/$sierra_front" 4.jpg public_html/sierra/thumb.00000002.jpg; then
batslib_print_kv_single_or_multi 8 \
'album' "sierra" \
'actual' "$sierra_front" \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment