Blame view

bower_components/prism/tests/languages/abap/string-template_feature.test 539 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  |foobar|

  |foo\|b\{a}r|

  |foo { bar } baz|

  

  ----------------------------------------------------

  

  [

  	["token-operator", "|"], ["string-template", "foobar"], ["token-operator", "|"],

  	["token-operator", "|"], ["string-template", "foo\\|b\\{a}r"], ["token-operator", "|"],

  	["token-operator", "|"], ["string-template", "foo "], ["token-operator", "{"],

  	" bar ",

  	["token-operator", "}"], ["string-template", " baz"], ["token-operator", "|"]

  ]

  

  ----------------------------------------------------

  

  Checks for string templates.