~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/haxe/string_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
""
 
2
"Foo
 
3
\"bar\"
 
4
baz"
 
5
"$bar ${4+2}"
 
6
''
 
7
'Foo
 
8
\'bar\'
 
9
baz'
 
10
 
 
11
----------------------------------------------------
 
12
 
 
13
[
 
14
        ["string", ["\"\""]],
 
15
        ["string", ["\"Foo\r\n\\\"bar\\\"\r\nbaz\""]],
 
16
        ["string", [
 
17
                "\"",
 
18
                ["interpolation", [
 
19
                        ["interpolation", "$bar"]
 
20
                ]],
 
21
                ["interpolation", [
 
22
                        ["interpolation", "$"],
 
23
                        ["punctuation", "{"],
 
24
                        ["number", "4"],
 
25
                        ["operator", "+"],
 
26
                        ["number", "2"],
 
27
                        ["punctuation", "}"]
 
28
                ]],
 
29
                "\""
 
30
        ]],
 
31
        ["string", ["''"]],
 
32
        ["string", ["'Foo\r\n\\'bar\\'\r\nbaz'"]]
 
33
]
 
34
 
 
35
----------------------------------------------------
 
36
 
 
37
Checks for strings and string interpolation.
 
 
b'\\ No newline at end of file'