From 65282f5487ec18fd3ca5d791debae110943453ae Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Sun, 25 Oct 2015 16:11:06 +0300 Subject: [PATCH] cleanup: fix kotlin deprecation --- .../intellij/openapi/vcs/changes/committed/ZipChangesTest.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/vcs-impl/testSrc/com/intellij/openapi/vcs/changes/committed/ZipChangesTest.kt b/platform/vcs-impl/testSrc/com/intellij/openapi/vcs/changes/committed/ZipChangesTest.kt index 7d744f3e687d..e5fc8980a7a5 100644 --- a/platform/vcs-impl/testSrc/com/intellij/openapi/vcs/changes/committed/ZipChangesTest.kt +++ b/platform/vcs-impl/testSrc/com/intellij/openapi/vcs/changes/committed/ZipChangesTest.kt @@ -22,7 +22,6 @@ import com.intellij.openapi.vcs.changes.ContentRevision import com.intellij.openapi.vcs.history.VcsRevisionNumber import com.intellij.testFramework.UsefulTestCase import java.util.* -import kotlin.test.assertNull public class ZipChangesTest : UsefulTestCase() { public fun testTrivial() { @@ -289,8 +288,8 @@ public class ZipChangesTest : UsefulTestCase() { public fun changes(): List = data public operator fun String.not(): ModHelper = ModHelper(this, this, null, null) - public operator fun String.minus(): DelHelper = DelHelper(this, null) - public operator fun String.plus(): AddHelper = AddHelper(this, null) + public operator fun String.unaryMinus(): DelHelper = DelHelper(this, null) + public operator fun String.unaryPlus(): AddHelper = AddHelper(this, null) public operator fun ModHelper.minus(path: String): ModHelper { aPath = path