Blame view

bower_components/prism/tests/languages/puppet/attr-name_feature.test 399 Bytes
f748e9cf   Luigi Serra   new controllet an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  foo {

    bar => bar,

    * => {}

  }

  

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

  

  [

  	"foo ", ["punctuation", "{"],

  	["attr-name", "bar"], ["operator", "=>"],

  	" bar", ["punctuation", ","],

  	["attr-name", "*"], ["operator", "=>"],

  	["punctuation", "{"], ["punctuation", "}"],

  	["punctuation", "}"]

  ]

  

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

  

  Checks for attributes.