mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	JDK8, lint fixing (#2888)
* Use Kotlin JDK8 * Satisfy a ton of lints * Run res/layout files (and manifest) through reformatter
This commit is contained in:
		| @@ -40,7 +40,7 @@ import uy.kohesive.injekt.api.addSingleton | ||||
|  * Test class for the [BackupManager]. | ||||
|  * Note that this does not include the backup create/restore services. | ||||
|  */ | ||||
| @Config(constants = BuildConfig::class, sdk = intArrayOf(Build.VERSION_CODES.LOLLIPOP)) | ||||
| @Config(constants = BuildConfig::class, sdk = [Build.VERSION_CODES.LOLLIPOP]) | ||||
| @RunWith(CustomRobolectricGradleTestRunner::class) | ||||
| class BackupTest { | ||||
|     // Create root object | ||||
|   | ||||
| @@ -72,7 +72,7 @@ class CategoryTest { | ||||
|  | ||||
|         // It should not have 0 as id | ||||
|         val c = db.getCategories().executeAsBlocking()[0] | ||||
|         assertThat(c.id).isNotZero() | ||||
|         assertThat(c.id).isNotZero | ||||
|  | ||||
|         // Add a manga to a category | ||||
|         val m = db.getMangas().executeAsBlocking()[0] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user