mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-24 13:48:55 +03:00
Fix unit test class to match package
This commit is contained in:
parent
284445c364
commit
d476431707
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue