effective-java-3rd-chinese/docs/_style/prism-master/tests/languages/makefile/string_feature.test

23 lines
387 B
Plaintext
Raw Normal View History

2019-03-14 13:10:17 +08:00
""
''
"fo\"o"
'fo\'o'
"foo\
bar"
'foo\
bar'
----------------------------------------------------
[
["string", "\"\""],
["string", "''"],
["string", "\"fo\\\"o\""],
["string", "'fo\\'o'"],
["string", "\"foo\\\r\nbar\""],
["string", "'foo\\\r\nbar'"]
]
----------------------------------------------------
Checks for single-quoted and double-quoted strings.