jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/coffeescript/block-regex_feature.test
2016-02-03 18:00:01 -05:00

33 lines
586 B
Plaintext

///foo[bar]///
///foo
[bar]///
///foo
b#{ar}baz///
///foo #bar
baz///
----------------------------------------------------
[
["block-regex", [
"///foo[bar]///"
]],
["block-regex", [
"///foo\r\n[bar]///"
]],
["block-regex", [
"///foo\r\nb",
["interpolation", "#{ar}"],
"baz///"
]],
["block-regex", [
"///foo ",
["comment", "#bar"],
"\r\nbaz///"
]]
]
----------------------------------------------------
Checks for block regex.
Also checks for comments and interpolations inside block regex.