diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-09-29 11:06:02 +0200 |
---|---|---|
committer | Andrzej Ratajczak <32793002+BarkingBad@users.noreply.github.com> | 2020-09-29 11:39:10 +0200 |
commit | 7e572b6341bc7da3eeed4aef41665097ebad9f35 (patch) | |
tree | eeb74c64b1e1a6f4a1e96f557965b7a6f10e4be9 /plugins/base/src/test/kotlin/signatures | |
parent | 64ec7ad22e9541b639e854aa413a2cffd650e8d0 (diff) | |
download | dokka-7e572b6341bc7da3eeed4aef41665097ebad9f35.tar.gz dokka-7e572b6341bc7da3eeed4aef41665097ebad9f35.tar.bz2 dokka-7e572b6341bc7da3eeed4aef41665097ebad9f35.zip |
Fix failing tests
Diffstat (limited to 'plugins/base/src/test/kotlin/signatures')
-rw-r--r-- | plugins/base/src/test/kotlin/signatures/ObviousTypeSkippingTest.kt | 6 |
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 + ) |