~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/dart/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
r"" r''
 
3
"""""" ''''''
 
4
r"""""" r''''''
 
5
"fo\"o" 'fo\'o'
 
6
"""foo
 
7
bar"""
 
8
'''foo
 
9
bar'''
 
10
 
 
11
----------------------------------------------------
 
12
 
 
13
[
 
14
        ["string", "\"\""], ["string", "''"],
 
15
        ["string", "r\"\""], ["string", "r''"],
 
16
        ["string", "\"\"\"\"\"\""], ["string", "''''''"],
 
17
        ["string", "r\"\"\"\"\"\""], ["string", "r''''''"],
 
18
        ["string", "\"fo\\\"o\""], ["string", "'fo\\'o'"],
 
19
        ["string", "\"\"\"foo\r\nbar\"\"\""], ["string", "'''foo\r\nbar'''"]
 
20
]
 
21
 
 
22
----------------------------------------------------
 
23
 
 
24
Checks for single quoted and double quoted strings,
 
25
multi-line strings and "raw" strings.
 
 
b'\\ No newline at end of file'