Skip to content

Commit 14ebe23

Browse files
committed
with to when
1 parent cde508b commit 14ebe23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core-kotlin-modules/core-kotlin-10/src/test/kotlin/com/baeldung/cloningobject/CloningObjectUnitTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CloningObjectUnitTest {
4747
}
4848

4949
@Test
50-
fun `with using clone then proves that shallow copy`() {
50+
fun `when using clone then proves that shallow copy`() {
5151
val clonedPerson = person.clone()
5252
clonedPerson.address.city = "Palembang"
5353
clonedPerson.address.street = "Jln. Abi Hasan"
@@ -59,7 +59,7 @@ class CloningObjectUnitTest {
5959
}
6060

6161
@Test
62-
fun `with own function then proves that deep copy`() {
62+
fun `when own function then proves that deep copy`() {
6363
val clonedPerson = person.deepCopy()
6464
clonedPerson.address.city = "Bandung"
6565
clonedPerson.address.street = "Jln. Siliwangi"

0 commit comments

Comments
 (0)