src/test/kotlin/cn/flightfeather/supervision/CommonTest.kt
@@ -2,6 +2,7 @@ import org.junit.Test import java.util.* import kotlin.properties.Delegates class CommonTest { @@ -12,4 +13,17 @@ println(fName) println(dName) } @Test fun annotationTest() { "name" + "1" mapOf<String, String>("name" to "1") } @Test fun findStr() { val m = "cOm7.jpg" val m1 = m.replace("/", "-").replace(".", "(${0 + 1}).") println(m1) } }