Blame view

bower_components/prism/tests/languages/parigp/function_feature.test 350 Bytes
f748e9cf   Luigi Serra   new controllet an...
1
2
3
4
5
6
7
8
9
10
11
12
13
  foo()

  f o o b a r ( )

  

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

  

  [

  	["function", "foo"], ["punctuation", "("], ["punctuation", ")"],

  	["function", "f o o b a r"], ["punctuation", "("], ["punctuation", ")"]

  ]

  

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

  

  Checks for functions. Also checks that whitespaces are ignored.