From 7538c697be93f674617e171e6fe8452eb4f93493 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Wed, 30 Sep 2026 09:35:14 +0200 Subject: [PATCH] change test custom extension two --- tests/albentohandy.bats | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/albentohandy.bats b/tests/albentohandy.bats index f81d78a..bd4b674 100755 --- a/tests/albentohandy.bats +++ b/tests/albentohandy.bats @@ -596,7 +596,7 @@ teardown() { # bats test_tags=albentohandy:checksum @test "success: create checksum for only custom extension" { - EXTENSIONS=("txt") + EXTENSIONS=("txt" "jpg") load_config() { : } @@ -633,8 +633,9 @@ teardown() { assert_success [ -f "build/tests/output/checksum.sha256" ] - assert_equal "$(wc --lines "build/tests/output/checksum.sha256" | sed 's/ .*//')" "1" - assert_equal "$(awk 'NR==1 {print; exit}' "build/tests/output/checksum.sha256")" "2da346a5b02c5f5b0966a6a4b55eca146a698ae4d5b3f804b06990caa6d17fed ./Artist1/Album1/other.txt" + assert_equal "$(wc --lines "build/tests/output/checksum.sha256" | sed 's/ .*//')" "2" + assert_equal "$(awk 'NR==1 {print; exit}' "build/tests/output/checksum.sha256")" "b31a485a021b49375a5b61eca2467b04b8137024ecda9cd95c687e954dc7c247 ./Artist1/Album1/cover.jpg" + assert_equal "$(awk 'NR==2 {print; exit}' "build/tests/output/checksum.sha256")" "2da346a5b02c5f5b0966a6a4b55eca146a698ae4d5b3f804b06990caa6d17fed ./Artist1/Album1/other.txt" } # bats test_tags=albentohandy:usage -- 2.47.3