app/src/test/java/cn/flightfeather/thirdapp/Test.kt @@ -42,4 +42,11 @@ val s = Gson().toJson(list) println(s) } @Test fun foo4() { val list = listOf(1, 2, 3) list.toMutableList().clear() println(list) } }