Logo white

WebCompDev / COMPONENTS

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • COMPONENTS
  • bower_components
  • prism
  • tests
  • languages
  • scala
  • string_feature.test
  • curruption reloution
    8ee32023
    Luigi Serra authored
    2015-11-03 13:45:29 +0100  
    Browse Code ยป
string_feature.test 409 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
'a'
'\u0041'
'\n'
'\t'

""
"fo\"obar"

"""fo"o
bar"""

----------------------------------------------------

[
	["string", "'a'"],
	["string", "'\\u0041'"],
	["string", "'\\n'"],
	["string", "'\\t'"],
	["string", "\"\""],
	["string", "\"fo\\\"obar\""],
	["string", "\"\"\"fo\"o\r\nbar\"\"\""]
]

----------------------------------------------------

Checks for characters and strings.