mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-25 02:18:24 +01:00
Fix unit test class to match package
This commit is contained in:
parent
284445c364
commit
d476431707
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user