jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/haxe/string_feature.test
2016-02-02 21:12:02 -05:00

37 lines
606 B
Plaintext

""
"Foo
\"bar\"
baz"
"$bar ${4+2}"
''
'Foo
\'bar\'
baz'
----------------------------------------------------
[
["string", ["\"\""]],
["string", ["\"Foo\r\n\\\"bar\\\"\r\nbaz\""]],
["string", [
"\"",
["interpolation", [
["interpolation", "$bar"]
]],
["interpolation", [
["interpolation", "$"],
["punctuation", "{"],
["number", "4"],
["operator", "+"],
["number", "2"],
["punctuation", "}"]
]],
"\""
]],
["string", ["''"]],
["string", ["'Foo\r\n\\'bar\\'\r\nbaz'"]]
]
----------------------------------------------------
Checks for strings and string interpolation.