~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/stylus/variable-declaration_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
foo = 'bar'
 
2
a = 4
 
3
bar-baz = 5
 
4
a += 8
 
5
 
 
6
----------------------------------------------------
 
7
 
 
8
[
 
9
        ["variable-declaration", [
 
10
                ["variable", "foo"],
 
11
                ["operator", "="],
 
12
                ["string", "'bar'"]
 
13
        ]],
 
14
        ["variable-declaration", [
 
15
                ["variable", "a"],
 
16
                ["operator", "="],
 
17
                ["number", "4"]
 
18
        ]],
 
19
        ["variable-declaration", [
 
20
                ["variable", "bar-baz"],
 
21
                ["operator", "="],
 
22
                ["number", "5"]
 
23
        ]],
 
24
        ["variable-declaration", [
 
25
                ["variable", "a"],
 
26
                ["operator", "+="],
 
27
                ["number", "8"]
 
28
        ]]
 
29
]
 
30
 
 
31
----------------------------------------------------
 
32
 
 
33
Checks for variable declarations.
 
 
b'\\ No newline at end of file'