From 0842a3014da324f343e31796a43042cf98ef925f Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Fri, 16 Aug 2024 09:15:30 +0700 Subject: [PATCH] test(chapter): Fix test --- .../yokai/domain/chapter/services/ChapterRecognitionTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/src/commonTest/kotlin/yokai/domain/chapter/services/ChapterRecognitionTest.kt b/domain/src/commonTest/kotlin/yokai/domain/chapter/services/ChapterRecognitionTest.kt index a44cadacd9..55298ca513 100644 --- a/domain/src/commonTest/kotlin/yokai/domain/chapter/services/ChapterRecognitionTest.kt +++ b/domain/src/commonTest/kotlin/yokai/domain/chapter/services/ChapterRecognitionTest.kt @@ -272,6 +272,6 @@ class ChapterRecognitionTest { } private fun assertChapter(mangaTitle: String, name: String, expected: Float) { - ChapterRecognition.parseChapterNumber(mangaTitle, name) shouldBe expected + ChapterRecognition.parseChapterNumber(name, mangaTitle) shouldBe expected } }