mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-28 21:07:57 +01:00
handle chapter versions which are attached to the chapter number
This commit is contained in:
@@ -135,4 +135,10 @@ public class ChapterRecognitionTest {
|
||||
assertThat(c.chapter_number).isEqualTo(28f);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testWithVolumeAttachedToChapter() {
|
||||
Chapter c = createChapter("Ansatsu Kyoushitsu 011v002: Assembly Time");
|
||||
ChapterRecognition.parseChapterNumber(c, randomManga);
|
||||
assertThat(c.chapter_number).isEqualTo(11f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user