fix tests for quoted names

This commit is contained in:
Michael Nedzelsky
2015-10-08 20:53:45 +03:00
parent 2a97c28491
commit 7f0fbb4577
8 changed files with 20 additions and 20 deletions
@@ -1,4 +1,4 @@
// "Create parameter '\u00A0'" "true"
// "Create parameter '!u00A0'" "true"
fun test() {
val t: Int = <caret>`\u00A0`
val t: Int = <caret>`!u00A0`
}
@@ -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`
}
@@ -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`
}
@@ -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`
}