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 (12 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# misc. testfile parsing tests
# 1. can we regexp-match a forward slash ?
$$$  echo /
>>> /\//

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

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