File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core-kotlin-modules/core-kotlin-10/src/test/kotlin/com/baeldung/cloningobject Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class CloningObjectUnitTest {
47
47
}
48
48
49
49
@Test
50
- fun `with using clone then proves that shallow copy` () {
50
+ fun `when using clone then proves that shallow copy` () {
51
51
val clonedPerson = person.clone()
52
52
clonedPerson.address.city = " Palembang"
53
53
clonedPerson.address.street = " Jln. Abi Hasan"
@@ -59,7 +59,7 @@ class CloningObjectUnitTest {
59
59
}
60
60
61
61
@Test
62
- fun `with own function then proves that deep copy` () {
62
+ fun `when own function then proves that deep copy` () {
63
63
val clonedPerson = person.deepCopy()
64
64
clonedPerson.address.city = " Bandung"
65
65
clonedPerson.address.street = " Jln. Siliwangi"
You can’t perform that action at this time.
0 commit comments