From eec6fe91dd63d11b136a82b63d2f15ea1640045b Mon Sep 17 00:00:00 2001 From: Antoine Aflalo <197810+Belphemur@users.noreply.github.com> Date: Mon, 26 Aug 2024 23:51:57 -0400 Subject: [PATCH] test: fix test with new page format --- cbz/cbz_creator_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cbz/cbz_creator_test.go b/cbz/cbz_creator_test.go index e6dde85..bb554cd 100644 --- a/cbz/cbz_creator_test.go +++ b/cbz/cbz_creator_test.go @@ -26,7 +26,7 @@ func TestWriteChapterToCBZ(t *testing.T) { }, }, }, - expectedFiles: []string{"page_000.jpg"}, + expectedFiles: []string{"page_0000.jpg"}, }, { name: "Multiple pages with ComicInfo", @@ -45,7 +45,7 @@ func TestWriteChapterToCBZ(t *testing.T) { }, ComicInfoXml: "Boundless Necromancer", }, - expectedFiles: []string{"page_000.jpg", "page_001.jpg", "ComicInfo.xml"}, + expectedFiles: []string{"page_0000.jpg", "page_0001.jpg", "ComicInfo.xml"}, }, { name: "Split page", @@ -60,7 +60,7 @@ func TestWriteChapterToCBZ(t *testing.T) { }, }, }, - expectedFiles: []string{"page_000-01.jpg"}, + expectedFiles: []string{"page_0000-01.jpg"}, }, }