aboutsummaryrefslogtreecommitdiff
path: root/app/src/test/kotlin/com/pitchedapps/frost/kotlin/FlyweightTest.kt
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/kotlin/FlyweightTest.kt
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/kotlin/FlyweightTest.kt')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/kotlin/FlyweightTest.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/kotlin/FlyweightTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/kotlin/FlyweightTest.kt
index bcc86974..20cdd5ec 100644
--- a/app/src/test/kotlin/com/pitchedapps/frost/kotlin/FlyweightTest.kt
+++ b/app/src/test/kotlin/com/pitchedapps/frost/kotlin/FlyweightTest.kt
@@ -107,7 +107,10 @@ class FlyweightTest {
} catch (ignore: CancellationException) {
}
try {
- assertFalse(longRunningResult.isActive, "Long running result should no longer be active")
+ assertFalse(
+ longRunningResult.isActive,
+ "Long running result should no longer be active"
+ )
longRunningResult.await()
fail("Flyweight should have cancelled previously running requests")
} catch (ignore: CancellationException) {