From 5ec7643b5a2a0ad3380dd4ce7b10592a2f8e8901 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Thu, 24 Jan 2019 10:50:01 +0300 Subject: [PATCH] Fix two QF tests (new add underscores action, KT-28953) --- .../typeMismatch/wrongPrimitive/doubleToLongNotInRange.kt | 1 + .../typeMismatch/wrongPrimitive/doubleToShortNotInRange.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToLongNotInRange.kt b/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToLongNotInRange.kt index 3d94f9ed818..616a1904d6e 100644 --- a/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToLongNotInRange.kt +++ b/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToLongNotInRange.kt @@ -3,6 +3,7 @@ // ACTION: Change type of 'a' to 'Double' // ACTION: Convert expression to 'Long' // ACTION: Convert property initializer to getter +// ACTION: Add underscores // ERROR: The floating-point literal does not conform to the expected type Long val a : Long = 10000000000000000000.0 \ No newline at end of file diff --git a/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToShortNotInRange.kt b/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToShortNotInRange.kt index fde49366c5c..ba82d8ab413 100644 --- a/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToShortNotInRange.kt +++ b/idea/testData/quickfix/typeMismatch/wrongPrimitive/doubleToShortNotInRange.kt @@ -3,6 +3,7 @@ // ACTION: Change type of 'a' to 'Double' // ACTION: Convert expression to 'Short' // ACTION: Convert property initializer to getter +// ACTION: Add underscores // ERROR: The floating-point literal does not conform to the expected type Short val a : Short = 65000.0 \ No newline at end of file