From c1d34aeaeeb2f98d30b04d32fe57c572c4d949ee Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 18 Apr 2021 18:06:58 -0700 Subject: Fix lint --- .../kotlin/com/pitchedapps/frost/TestModules.kt | 16 ++++++++++++++++ .../com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app/src/androidTest/kotlin/com/pitchedapps/frost/TestModules.kt b/app/src/androidTest/kotlin/com/pitchedapps/frost/TestModules.kt index 3d43f1b1..176db811 100644 --- a/app/src/androidTest/kotlin/com/pitchedapps/frost/TestModules.kt +++ b/app/src/androidTest/kotlin/com/pitchedapps/frost/TestModules.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2021 Allan Wang + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.pitchedapps.frost import ca.allanwang.kau.kpref.KPrefFactory diff --git a/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt index 23a365f4..48587ea9 100644 --- a/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt +++ b/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt @@ -46,7 +46,7 @@ class OfflineWebsiteTest { fun before() { val buildPath = if (File("").absoluteFile.name == "app") "build/offline_test" else "app/build/offline_test" - val rootDir = File(buildPath) + val rootDir = File(buildPath) rootDir.deleteRecursively() baseDir = rootDir.resolve(System.currentTimeMillis().toString()) server = MockWebServer() -- cgit v1.2.3