summary refs log tree commit diff stats
path: root/tests/testdata/mycert.pem
Commit message (Collapse)AuthorAgeFilesLines
* Added mycert.pem for the asynciossl test.Dominik Picheta2012-07-241-0/+32
a id='n9' href='#n9'>9 10 11 12 13 14 15














                                                            
discard """
  output: "an identifier"
"""

const
  SymChars: set[char] = {'a'..'z', 'A'..'Z', '\x80'..'\xFF'}

proc classify(s: string) =
  case s[0]
  of SymChars, '_': echo "an identifier"
  of {'0'..'9'}: echo "a number"
  else: echo "other"

classify("Hurra")