Write patch version for VersionRequirement correctly

This commit is contained in:
Alexander Udalov
2017-10-10 12:18:59 +02:00
parent 6f2e6db131
commit 00c846a160
3 changed files with 14 additions and 1 deletions
@@ -139,4 +139,10 @@ class VersionRequirementTest : TestCaseWithTmpdir() {
"test.property"
)
}
fun testPatchVersion() {
doTest(VersionRequirement.Version(1, 1, 50), DeprecationLevel.HIDDEN, null, ProtoBuf.VersionRequirement.VersionKind.LANGUAGE_VERSION, null,
"test.Klass"
)
}
}