aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-04-18 18:06:58 -0700
committerAllan Wang <me@allanwang.ca>2021-04-18 18:06:58 -0700
commitc1d34aeaeeb2f98d30b04d32fe57c572c4d949ee (patch)
tree5df39924cf2bfd4be142b10d9a44ad4e858867b6
parent9523485533fa6abf76dbf9772fba90531084c984 (diff)
downloadfrost-c1d34aeaeeb2f98d30b04d32fe57c572c4d949ee.tar.gz
frost-c1d34aeaeeb2f98d30b04d32fe57c572c4d949ee.tar.bz2
frost-c1d34aeaeeb2f98d30b04d32fe57c572c4d949ee.zip
Fix lint
-rw-r--r--app/src/androidTest/kotlin/com/pitchedapps/frost/TestModules.kt16
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt2
2 files changed, 17 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
+ */
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()