Blame view

bower_components/prism/tests/languages/parser/parser-comment_feature.test 343 Bytes
f748e9cf   Luigi Serra   new controllet an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  Foo

  #

  # Foobar

  

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

  

  [

  	"Foo\r\n",

  	["parser-comment", "#"],

  	["parser-comment", "# Foobar"]

  ]

  

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

  

  Checks for comments.

  The first line of this test is needed, since we require a whitespace before the hash

  and tests are trimmed.