aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/signatures
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/signatures')
-rw-r--r--plugins/base/src/test/kotlin/signatures/ObviousTypeSkippingTest.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/base/src/test/kotlin/signatures/ObviousTypeSkippingTest.kt b/plugins/base/src/test/kotlin/signatures/ObviousTypeSkippingTest.kt
index e8265667..dfd80a54 100644
--- a/plugins/base/src/test/kotlin/signatures/ObviousTypeSkippingTest.kt
+++ b/plugins/base/src/test/kotlin/signatures/ObviousTypeSkippingTest.kt
@@ -54,8 +54,8 @@ class ObviousTypeSkippingTest : AbstractCoreTest(
forFunction("fun <T> underTest(arg: T) {}", "fun <T> underTest(arg: T)"),
forFunction("fun <T: Any> underTest(arg: T) {}", "fun <T : Any> underTest(arg: T)"),
forFunction("fun <T: Any?> underTest(arg: T) {}", "fun <T> underTest(arg: T)"),
- forProperty("val underTest: Int = 5", "val underTest: Int"),
- forProperty("val underTest = 5", "val underTest: Int"),
+ forProperty("val underTest: Int = 5", "val underTest: Int = 5"),
+ forProperty("val underTest = 5", "val underTest: Int = 5"),
forProperty("val underTest: Unit = println(5)", "val underTest: Unit"),
forProperty("val underTest = println(5)", "val underTest: Unit"),
forProperty("val underTest: Unit? = if (true) println(5) else null", "val underTest: Unit?"),
@@ -192,4 +192,4 @@ private fun forClass(codeFragment: String, expectedSignature: String, className:
expectedSignature,
OnParentPage(PackagePageNode::class, ContentKind.Classlikes),
OnOwnPage(className)
- ) \ No newline at end of file
+ )