aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt
diff options
context:
space:
mode:
authorAllan Wang <allanwang@google.com>2019-08-15 16:04:14 -0700
committerAllan Wang <allanwang@google.com>2019-08-15 16:04:14 -0700
commit5aefeee08f68777dd07a16bd42a7d2392db6bbc9 (patch)
treea357e6cd419123d69ca5d2977c8ce839c56f3d87 /core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt
parent85e9e1f253bb14512ae404989c45cbc199eb1eba (diff)
downloadkau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.tar.gz
kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.tar.bz2
kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.zip
Apply spotless
Diffstat (limited to 'core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt')
-rw-r--r--core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt b/core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt
index 4dc4a34..e3d4e5b 100644
--- a/core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt
+++ b/core/src/test/kotlin/ca/allanwang/kau/kotlin/StreamsTest.kt
@@ -47,10 +47,10 @@ class StreamsTest {
items.add(3, thePotato)
assertEquals(result.size + 1, items.size, "Invalid list addition")
assertEquals(2, items.filter { it.id == 9 }.size, "Invalid number of potatoes with id 9")
- items.kauRemoveIf { it === thePotato } //removal by reference
+ items.kauRemoveIf { it === thePotato } // removal by reference
assertEquals(result.size, items.size, "Invalid list size after removal")
assertEquals(result, items)
- items.kauRemoveIf { it == thePotato } //removal by equality
+ items.kauRemoveIf { it == thePotato } // removal by equality
assertEquals(result.size - 1, items.size, "Invalid list removal based on equality")
}
}