mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2025-10-14 12:38:50 +02:00
test: fix path
This commit is contained in:
@@ -17,14 +17,14 @@ func TestLoadChapter(t *testing.T) {
|
|||||||
testCases := []testCase{
|
testCases := []testCase{
|
||||||
{
|
{
|
||||||
name: "Original Chapter",
|
name: "Original Chapter",
|
||||||
filePath: "../testdata/Chapter 1.cbz",
|
filePath: "../../testdata/Chapter 1.cbz",
|
||||||
expectedPages: 16,
|
expectedPages: 16,
|
||||||
expectedSeries: "<Series>Boundless Necromancer</Series>",
|
expectedSeries: "<Series>Boundless Necromancer</Series>",
|
||||||
expectedConversion: false,
|
expectedConversion: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Converted Chapter",
|
name: "Converted Chapter",
|
||||||
filePath: "../testdata/Chapter 10_converted.cbz",
|
filePath: "../../testdata/Chapter 10_converted.cbz",
|
||||||
expectedPages: 107,
|
expectedPages: 107,
|
||||||
expectedSeries: "<Series>Boundless Necromancer</Series>",
|
expectedSeries: "<Series>Boundless Necromancer</Series>",
|
||||||
expectedConversion: true,
|
expectedConversion: true,
|
||||||
|
Reference in New Issue
Block a user