fix tests for quoted names
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
// "Create class 'A\u00A0'" "true"
|
||||
// "Create class 'A!u00A0'" "true"
|
||||
fun test() {
|
||||
val t = <caret>`A\u00A0`(1)
|
||||
val t = <caret>`A!u00A0`(1)
|
||||
}
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
// "Create class 'A\u00A0'" "true"
|
||||
// "Create class 'A!u00A0'" "true"
|
||||
fun test() {
|
||||
val t = `A\u00A0`(1)
|
||||
val t = `A!u00A0`(1)
|
||||
}
|
||||
|
||||
class `A\u00A0`(i: Int) {
|
||||
class `A!u00A0`(i: Int) {
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// "Create extension function '\u00A0'" "true"
|
||||
// "Create extension function '!u00A0'" "true"
|
||||
fun test() {
|
||||
val t: Int = 1 <caret>`\u00A0` 2
|
||||
val t: Int = 1 <caret>`!u00A0` 2
|
||||
}
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
// "Create extension function '\u00A0'" "true"
|
||||
// "Create extension function '!u00A0'" "true"
|
||||
fun test() {
|
||||
val t: Int = 1 `\u00A0` 2
|
||||
val t: Int = 1 `!u00A0` 2
|
||||
}
|
||||
|
||||
fun Int.`\u00A0`(i: Int): Int {
|
||||
fun Int.`!u00A0`(i: Int): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// "Create parameter '\u00A0'" "true"
|
||||
// "Create parameter '!u00A0'" "true"
|
||||
fun test() {
|
||||
val t: Int = <caret>`\u00A0`
|
||||
val t: Int = <caret>`!u00A0`
|
||||
}
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
// "Create parameter '\u00A0'" "true"
|
||||
fun test(`\u00A0`: Int) {
|
||||
val t: Int = `\u00A0`
|
||||
// "Create parameter '!u00A0'" "true"
|
||||
fun test(`!u00A0`: Int) {
|
||||
val t: Int = `!u00A0`
|
||||
}
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// "Create property '\u00A0'" "true"
|
||||
// "Create property '!u00A0'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
fun test() {
|
||||
val t: Int = <caret>`\u00A0`
|
||||
val t: Int = <caret>`!u00A0`
|
||||
}
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
val `\u00A0`: Int
|
||||
val `!u00A0`: Int
|
||||
|
||||
// "Create property '\u00A0'" "true"
|
||||
// "Create property '!u00A0'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
fun test() {
|
||||
val t: Int = `\u00A0`
|
||||
val t: Int = `!u00A0`
|
||||
}
|
||||
Reference in New Issue
Block a user