Add test case for empty modules (dlang-community/dsymbol#117)

This commit is contained in:
Vladimir Panteleev 2019-01-08 00:09:21 +00:00
parent daa65fccd5
commit c827da91be
No known key found for this signature in database
GPG Key ID: 5004F0FAD051576D
4 changed files with 6 additions and 0 deletions

0
tests/imports/empty.d Normal file
View File

View File

View File

@ -0,0 +1 @@
import empty:

5
tests/tc_empty_module/run.sh Executable file
View File

@ -0,0 +1,5 @@
set -e
set -u
../../bin/dcd-client $1 file.d --extended -c$(stat -c %s file.d) > actual1.txt
diff actual1.txt expected1.txt