aboutsummaryrefslogtreecommitdiff
path: root/app/src/test/kotlin/com/pitchedapps/frost/internal
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-03-01 23:00:09 -0800
committerAllan Wang <me@allanwang.ca>2020-03-01 23:00:09 -0800
commite19c87ae367154bd5bbf59f080eee4976e64e2da (patch)
tree52f30b2d97dee998aabe46feffc1f4999275ec42 /app/src/test/kotlin/com/pitchedapps/frost/internal
parent10d6cfdecb790e235e09641b18b4a10a645f87a0 (diff)
downloadfrost-e19c87ae367154bd5bbf59f080eee4976e64e2da.tar.gz
frost-e19c87ae367154bd5bbf59f080eee4976e64e2da.tar.bz2
frost-e19c87ae367154bd5bbf59f080eee4976e64e2da.zip
Format code
Diffstat (limited to 'app/src/test/kotlin/com/pitchedapps/frost/internal')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/internal/Internal.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/internal/Internal.kt b/app/src/test/kotlin/com/pitchedapps/frost/internal/Internal.kt
index b83cb62e..17ce847c 100644
--- a/app/src/test/kotlin/com/pitchedapps/frost/internal/Internal.kt
+++ b/app/src/test/kotlin/com/pitchedapps/frost/internal/Internal.kt
@@ -79,7 +79,10 @@ fun Any.assertComponentsNotEmpty() {
val result = it.call(this) as String
assertTrue(result.isNotEmpty(), "${it.name} returned empty string")
if (result.startsWith("https"))
- assertTrue(result.startsWith("https://"), "${it.name} has poorly formatted output $result")
+ assertTrue(
+ result.startsWith("https://"),
+ "${it.name} has poorly formatted output $result"
+ )
}
}
}