~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/stylus/number_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
z-index 42
 
2
foo = 3.14159
 
3
width: 23%
 
4
bar = 1.5%
 
5
 
 
6
----------------------------------------------------
 
7
 
 
8
[
 
9
        ["property-declaration", [
 
10
                ["property", ["z-index"]],
 
11
                ["number", "42"]
 
12
        ]],
 
13
        ["variable-declaration", [
 
14
                ["variable", "foo"],
 
15
                ["operator", "="],
 
16
                ["number", "3.14159"]
 
17
        ]],
 
18
        ["property-declaration", [
 
19
                ["property", ["width"]],
 
20
                ["punctuation", ":"],
 
21
                ["number", "23%"]
 
22
        ]],
 
23
        ["variable-declaration", [
 
24
                ["variable", "bar"],
 
25
                ["operator", "="],
 
26
                ["number", "1.5%"]
 
27
        ]]
 
28
]
 
29
 
 
30
----------------------------------------------------
 
31
 
 
32
Checks for numbers and percentages.
 
 
b'\\ No newline at end of file'