mirror of
https://github.com/dlang-community/DCD.git
synced 2025-04-27 21:59:55 +03:00
Tests for #261
This commit is contained in:
parent
acaf9da69f
commit
39def82b4a
3 changed files with 11 additions and 0 deletions
5
tests/tc021/expected.txt
Normal file
5
tests/tc021/expected.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
identifiers
|
||||||
|
idouble k
|
||||||
|
ifloat k
|
||||||
|
int k
|
||||||
|
ireal k
|
1
tests/tc021/file.d
Normal file
1
tests/tc021/file.d
Normal file
|
@ -0,0 +1 @@
|
||||||
|
i
|
5
tests/tc021/run.sh
Executable file
5
tests/tc021/run.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
../../bin/dcd-client file.d -c1 > actual.txt
|
||||||
|
diff actual.txt expected.txt
|
Loading…
Add table
Add a link
Reference in a new issue