@@ -276,7 +276,7 @@ class PersistentHashMapBuilderTest : ExecutionTimeMeasuringTest() {
276
276
}
277
277
278
278
@Test
279
- fun removingTwiceOnIteratorsThrowsIllegalStateException () {
279
+ fun `removing twice on iterators throws IllegalStateException` () {
280
280
val map: PersistentHashMap <Int , String > =
281
281
persistentHashMapOf(1 to " a" , 2 to " b" , 3 to " c" , 0 to " y" , 32 to " z" ) as PersistentHashMap <Int , String >
282
282
val builder = map.builder()
@@ -295,7 +295,7 @@ class PersistentHashMapBuilderTest : ExecutionTimeMeasuringTest() {
295
295
}
296
296
297
297
@Test
298
- fun removingElementsFromDifferentIteratorsThrowsConcurrentModificationException () {
298
+ fun `removing elements from different iterators throws ConcurrentModificationException` () {
299
299
val map: PersistentHashMap <Int , String > =
300
300
persistentHashMapOf(1 to " a" , 2 to " b" , 3 to " c" , 0 to " y" , 32 to " z" ) as PersistentHashMap <Int , String >
301
301
val builder = map.builder()
@@ -313,7 +313,7 @@ class PersistentHashMapBuilderTest : ExecutionTimeMeasuringTest() {
313
313
}
314
314
315
315
@Test
316
- fun removingElementFromOneIteratorAndAccessingAnotherThrowsConcurrentModificationException () {
316
+ fun `removing element from one iterator and accessing another throws ConcurrentModificationException` () {
317
317
val map = persistentHashMapOf(1 to " a" , 2 to " b" , 3 to " c" )
318
318
val builder = map.builder()
319
319
val iterator1 = builder.entries.iterator()
0 commit comments