~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/jade/code_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
- if(foo)
 
2
 
 
3
p= 'This code is' + ' <escaped>!'
 
4
 
 
5
span
 
6
        != 'Not escaped'
 
7
 
 
8
----------------------------------------------------
 
9
 
 
10
[
 
11
        ["punctuation", "-"],
 
12
        ["code", [
 
13
                ["keyword", "if"],
 
14
                ["punctuation", "("],
 
15
                "foo",
 
16
                ["punctuation", ")"]
 
17
        ]],
 
18
 
 
19
        ["tag", ["p"]],
 
20
        ["punctuation", "="],
 
21
        ["code", [
 
22
                ["string", "'This code is'"],
 
23
                ["operator", "+"],
 
24
                ["string", "' <escaped>!'"]
 
25
        ]],
 
26
 
 
27
        ["tag", ["span"]],
 
28
        ["punctuation", "!="],
 
29
        ["code", [
 
30
                ["string", "'Not escaped'"]
 
31
        ]]
 
32
]
 
33
 
 
34
----------------------------------------------------
 
35
 
 
36
Checks for inline code.
 
 
b'\\ No newline at end of file'