aboutsummaryrefslogtreecommitdiff
path: root/app/src/test/kotlin/com/pitchedapps/frost/kotlin/FlyweightTest.kt
diff options
context:
space:
mode:
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) {