update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
39
dashboard-ui/bower_components/prism/tests/languages/swift/string_feature.test
vendored
Normal file
39
dashboard-ui/bower_components/prism/tests/languages/swift/string_feature.test
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
""
|
||||
"fo\"o"
|
||||
"foo\
|
||||
bar"
|
||||
"foo \(42)"
|
||||
"foo \(f("bar"))"
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", ["\"\""]],
|
||||
["string", ["\"fo\\\"o\""]],
|
||||
["string", ["\"foo\\\r\nbar\""]],
|
||||
["string", [
|
||||
"\"foo ",
|
||||
["interpolation", [
|
||||
["delimiter", "\\("],
|
||||
["number", "42"],
|
||||
["delimiter", ")"]
|
||||
]],
|
||||
"\""
|
||||
]],
|
||||
["string", [
|
||||
"\"foo ",
|
||||
["interpolation", [
|
||||
["delimiter", "\\("],
|
||||
["function", "f"],
|
||||
["punctuation", "("],
|
||||
["string", ["\"bar\""]],
|
||||
["punctuation", ")"],
|
||||
["delimiter", ")"]
|
||||
]],
|
||||
"\""
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings and string interpolation.
|
Loading…
Add table
Add a link
Reference in a new issue