Blame view

bower_components/prism/tests/languages/crystal/number_feature.test 389 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
  1
  1_1
  1_1_1
  0b10_01
  0o1_2_3
  0x123456789abcdef
  012_345.678_9e+10_f64
  
  ----------------------------------------------------
  
  [
  	["number", "1"],
  	["number", "1_1"],
  	["number", "1_1_1"],
  	["number", "0b10_01"],
  	["number", "0o1_2_3"],
  	["number", "0x123456789abcdef"],
  	["number", "012_345.678_9e+10_f64"]
  ]
  
  ----------------------------------------------------
  
  Checks for number literals.