mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix unit test class to match package
This commit is contained in:
		@@ -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.Test
 | 
			
		||||
import org.junit.jupiter.api.parallel.Execution
 | 
			
		||||
@@ -255,7 +254,7 @@ class ChapterRecognitionTest {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private fun assertChapter(mangaTitle: String, name: String, expected: Float) {
 | 
			
		||||
        val chapterNumber = parseChapterNumber(mangaTitle, name)
 | 
			
		||||
        val chapterNumber = ChapterRecognition.parseChapterNumber(mangaTitle, name)
 | 
			
		||||
        assertEquals(chapterNumber, expected)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user