Skip to content

Commit ab3637e

Browse files
Conform to existing code style and use locally to emphasize blocks used to control scope.
1 parent 8c8d67b commit ab3637e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/scala/collection/decorators/MapDecoratorTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class MapDecoratorTest {
9797
)
9898
)
9999

100-
{
100+
locally {
101101
// In this test case, none of the associated values collide across keys...
102102

103103
val theirChanges = Map(
@@ -129,7 +129,7 @@ class MapDecoratorTest {
129129
Assert.assertEquals("Expect all the keys to appear in an outer join.", theirChanges.mergeByKey(ourChanges).keys, allKeys)
130130
}
131131

132-
{
132+
locally {
133133
// In this test case, associated values collide across keys...
134134

135135
val theirChangesRedux = Map(

0 commit comments

Comments
 (0)