Fix unit test class to match package

(cherry picked from commit d476431707)
This commit is contained in:
arkon
2022-06-26 22:49:18 -04:00
committed by Jobobby04
parent ef20995e7d
commit 98b27c1e78
@@ -1,6 +1,5 @@
package eu.kanade.tachiyomi.data.database package eu.kanade.tachiyomi.util.chapter
import eu.kanade.tachiyomi.util.chapter.ChapterRecognition.parseChapterNumber
import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Test
import org.junit.jupiter.api.parallel.Execution import org.junit.jupiter.api.parallel.Execution
@@ -255,7 +254,7 @@ class ChapterRecognitionTest {
} }
private fun assertChapter(mangaTitle: String, name: String, expected: Float) { private fun assertChapter(mangaTitle: String, name: String, expected: Float) {
val chapterNumber = parseChapterNumber(mangaTitle, name) val chapterNumber = ChapterRecognition.parseChapterNumber(mangaTitle, name)
assertEquals(chapterNumber, expected) assertEquals(chapterNumber, expected)
} }
} }