hoa: test DOS-style input
* src/tgbatest/hoaparse.test: Add test.
This commit is contained in:
parent
0d59e55f4d
commit
fa2ad77078
1 changed files with 7 additions and 0 deletions
|
|
@ -429,6 +429,13 @@ input:7.15-23: aborted input automaton
|
|||
input:8.1-16.12: aborted input automaton
|
||||
EOF
|
||||
|
||||
# DOS-style new lines should have the same output.
|
||||
sed 's/$/\r/g' input > input.dos
|
||||
mv input.dos input
|
||||
../../bin/autfilt --hoa input 2>stderr && exit 1
|
||||
cat stderr
|
||||
diff stderr input.exp
|
||||
|
||||
cat >expected <<EOF
|
||||
HOA: v1
|
||||
States: 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue