Skip to content

Commit

Permalink
Add test for unicode escaped string (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
nishtahir authored Oct 18, 2020
1 parent 299598e commit 89d2d5e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/literals.test.kt
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,13 @@
// ^^^^ constant.numeric.hex.kotlin
// ^^^^ constant.numeric.hex.kotlin
// ^^^^^ constant.numeric.hex.kotlin
// ^^^^^ constant.numeric.hex.kotlin
// ^^^^^ constant.numeric.hex.kotlin

val unicodeEscape = "\u3400"
//^^^ source.kotlin storage.type.kotlin
// ^^^^^^^^^^^^^^^ source.kotlin
// ^ source.kotlin keyword.operator.assignment.kotlin
// ^ source.kotlin
// ^ source.kotlin string.quoted.double.kotlin punctuation.definition.string.begin.kotlin
// ^^^^^^ source.kotlin string.quoted.double.kotlin constant.character.escape.unicode.kotlin
// ^ source.kotlin string.quoted.double.kotlin punctuation.definition.string.end.kotlin

0 comments on commit 89d2d5e

Please sign in to comment.