提交 ad579de3 编写于 作者: M Mikhael Bogdanov

Don't run KaptPathsTest.testSymbolicLinks test on Windows

上级 d706a7ff
...@@ -15,6 +15,7 @@ import java.nio.file.Files ...@@ -15,6 +15,7 @@ import java.nio.file.Files
class KaptPathsTest : TestCase() { class KaptPathsTest : TestCase() {
@Test @Test
fun testSymbolicLinks() { fun testSymbolicLinks() {
if (System.getProperty("os.name").toLowerCase().contains("win")) return
val tempDir = Files.createTempDirectory("kapt-test").toFile() val tempDir = Files.createTempDirectory("kapt-test").toFile()
try { try {
fun File.writeJavaClass() = apply { fun File.writeJavaClass() = apply {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册