File: parsing.test

package info (click to toggle)
shelltestrunner 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 896 kB
  • sloc: haskell: 881; makefile: 60; sh: 1
file content (15 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# misc. testfile parsing tests
# 1. can we regexp-match a forward slash ?
 echo /
>>> /\//
>>>= 0

# 2. can we handle an empty regexp ?
 echo
>>> //
>>>= 0

# 3. or a regexp followed by a comment ?
 echo
>>> // # comment
>>>= 0