effective-java-3rd-chinese/docs/_style/prism-master/tests/languages/bro/string_feature.test
2019-03-14 13:10:17 +08:00

23 lines
386 B
Plaintext

""
''
"foo"
'foo'
"'foo'"
'"bar"'
" # comment "
----------------------------------------------------
[
["string", "\"\""],
["string", "''"],
["string", "\"foo\""],
["string", "'foo'"],
["string", "\"'foo'\""],
["string", "'\"bar\"'"],
["string", "\" # comment \""]
]
----------------------------------------------------
Checks for single-quoted and double-quoted strings.