Blame view

bower_components/prism/tests/languages/handlebars/string_feature.test 559 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  {{ "" }}

  {{{''}}}

  {{{"foobar"}}}

  {{ 'foobar' }}

  

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

  

  [

  	["handlebars", [

  		["delimiter", "{{"], ["string", "\"\""], ["delimiter", "}}"]

  	]],

  	["handlebars", [

  		["delimiter", "{{{"], ["string", "''"], ["delimiter", "}}}"]

  	]],

  	["handlebars", [

  		["delimiter", "{{{"], ["string", "\"foobar\""], ["delimiter", "}}}"]

  	]],

  	["handlebars", [

  		["delimiter", "{{"], ["string", "'foobar'"], ["delimiter", "}}"]

  	]]

  ]

  

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

  

  Checks for strings