Skip to content

Commit 630a671

Browse files
hanggatheangrydev
andauthored
Update core-kotlin-modules/core-kotlin-10/src/test/kotlin/com/baeldung/variableshadowing/VariableShadowingUnitTest.kt
Co-authored-by: Liam Williams <[email protected]>
1 parent 5b415dd commit 630a671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-kotlin-modules/core-kotlin-10/src/test/kotlin/com/baeldung/variableshadowing/VariableShadowingUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class VariableShadowingUnitTest{
9595
assertEquals(0, sum)
9696

9797
val lambda = { number : Int ->
98-
val number = 1// Local variable in lambda
98+
val number = 1 // Local variable in lambda
9999
}
100100
}
101101

0 commit comments

Comments
 (0)