update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
46
dashboard-ui/bower_components/prism/tests/languages/kotlin/interpolation_feature.test
vendored
Normal file
46
dashboard-ui/bower_components/prism/tests/languages/kotlin/interpolation_feature.test
vendored
Normal file
|
@ -0,0 +1,46 @@
|
|||
"$foo ${bar} ${'$'} ${foobar()}"
|
||||
"""
|
||||
$foo ${bar}
|
||||
${'$'} ${foobar()}
|
||||
"""
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", [
|
||||
"\"",
|
||||
["interpolation", "$foo"],
|
||||
["interpolation", [
|
||||
["delimiter", "${"], "bar", ["delimiter", "}"]
|
||||
]],
|
||||
["interpolation", [
|
||||
["delimiter", "${"], ["string", "'$'"], ["delimiter", "}"]
|
||||
]],
|
||||
["interpolation", [
|
||||
["delimiter", "${"],
|
||||
["function", "foobar"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["delimiter", "}"]
|
||||
]],
|
||||
"\""
|
||||
]],
|
||||
["raw-string", [
|
||||
"\"\"\"\r\n",
|
||||
["interpolation", "$foo"],
|
||||
["interpolation", [
|
||||
["delimiter", "${"], "bar", ["delimiter", "}"]
|
||||
]],
|
||||
["interpolation", [
|
||||
["delimiter", "${"], ["string", "'$'"], ["delimiter", "}"]
|
||||
]],
|
||||
["interpolation", [
|
||||
["delimiter", "${"],
|
||||
["function", "foobar"], ["punctuation", "("], ["punctuation", ")"],
|
||||
["delimiter", "}"]
|
||||
]],
|
||||
"\r\n\"\"\""
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for string interpolation.
|
Loading…
Add table
Add a link
Reference in a new issue