update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
30
dashboard-ui/bower_components/prism/tests/languages/puppet/string_feature.test
vendored
Normal file
30
dashboard-ui/bower_components/prism/tests/languages/puppet/string_feature.test
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
''
|
||||
'fo\'obar'
|
||||
'foo
|
||||
$bar
|
||||
baz'
|
||||
""
|
||||
"fo\"obar"
|
||||
"foo
|
||||
$bar
|
||||
baz"
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", ["''"]],
|
||||
["string", ["'fo\\'obar'"]],
|
||||
["string", ["'foo\r\n$bar\r\nbaz'"]],
|
||||
["string", [["double-quoted", ["\"\""]]]],
|
||||
["string", [["double-quoted", ["\"fo\\\"obar\""]]]],
|
||||
["string", [["double-quoted", [
|
||||
"\"foo\r\n",
|
||||
["interpolation", ["$bar"]],
|
||||
"\r\nbaz\""
|
||||
]]]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings.
|
||||
Also checks that string interpolation only applies to double-quoted strings.
|
Loading…
Add table
Add a link
Reference in a new issue