test(chapter): Fix test

This commit is contained in:
Ahmad Ansori Palembani 2024-08-16 09:15:30 +07:00
parent 59845065fb
commit 0842a3014d
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -272,6 +272,6 @@ class ChapterRecognitionTest {
} }
private fun assertChapter(mangaTitle: String, name: String, expected: Float) { private fun assertChapter(mangaTitle: String, name: String, expected: Float) {
ChapterRecognition.parseChapterNumber(mangaTitle, name) shouldBe expected ChapterRecognition.parseChapterNumber(name, mangaTitle) shouldBe expected
} }
} }