Преглед на файлове

Fix unit test class to match package

arkon преди 2 години
родител
ревизия
d476431707
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2 3
      app/src/test/java/eu/kanade/tachiyomi/util/chapter/ChapterRecognitionTest.kt

+ 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)
     }
 }