mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-28 21:07:57 +01:00
handle chapters with part numbers
This commit is contained in:
@@ -165,4 +165,11 @@ public class ChapterRecognitionTest {
|
||||
ChapterRecognition.parseChapterNumber(c, randomManga);
|
||||
assertThat(c.chapter_number).isEqualTo(123f);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChapterWithChapterPrefixAfterPart() {
|
||||
Chapter c = createChapter("Tokyo ESP 027: Part 002: Chapter 001");
|
||||
ChapterRecognition.parseChapterNumber(c, randomManga);
|
||||
assertThat(c.chapter_number).isEqualTo(027f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user