From 18245c5b73ac6063e99dbcf9024d0d4fc4711b3e Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Fri, 16 Dec 2016 06:10:38 +0300 Subject: [PATCH] Expected appearance of minOf/maxOf for T: Comparable in one of smart completion tests --- .../idea-completion/testData/smart/BooleanArgumentExpected.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/idea/idea-completion/testData/smart/BooleanArgumentExpected.kt b/idea/idea-completion/testData/smart/BooleanArgumentExpected.kt index 0b756dcc737..6d7f6a00dfa 100644 --- a/idea/idea-completion/testData/smart/BooleanArgumentExpected.kt +++ b/idea/idea-completion/testData/smart/BooleanArgumentExpected.kt @@ -9,4 +9,8 @@ fun bar() { // EXIST: { itemText: "false", attributes: "bold" } // EXIST: { lookupString: "flag = true", itemText: "flag = true", attributes: "" } // EXIST: { lookupString: "flag = false", itemText: "flag = false", attributes: "" } +// EXIST: { lookupString: "maxOf", tailText:"(a: Boolean, b: Boolean) (kotlin.comparisons)", typeText:"Boolean"} +// EXIST: { lookupString: "maxOf", tailText:"(a: Boolean, b: Boolean, c: Boolean) (kotlin.comparisons)", typeText:"Boolean"} +// EXIST: { lookupString: "minOf", tailText:"(a: Boolean, b: Boolean) (kotlin.comparisons)","typeText":"Boolean"} +// EXIST: { lookupString: "minOf", tailText:"(a: Boolean, b: Boolean, c: Boolean) (kotlin.comparisons)", typeText:"Boolean"} // NOTHING_ELSE