Parcourir la source

Fix unit test class to match package

arkon il y a 2 ans
Parent
commit
d476431707

+ 2 - 3
app/src/test/java/eu/kanade/tachiyomi/data/database/ChapterRecognitionTest.kt → app/src/test/java/eu/kanade/tachiyomi/util/chapter/ChapterRecognitionTest.kt

@@ -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.Test
 import org.junit.jupiter.api.parallel.Execution
@@ -255,7 +254,7 @@ class ChapterRecognitionTest {
     }
 
     private fun assertChapter(mangaTitle: String, name: String, expected: Float) {
-        val chapterNumber = parseChapterNumber(mangaTitle, name)
+        val chapterNumber = ChapterRecognition.parseChapterNumber(mangaTitle, name)
         assertEquals(chapterNumber, expected)
     }
 }