Add lazy import regression test (dlang-community/dsymbol#114) (#574)

Add lazy import regression test (dlang-community/dsymbol#114)
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
Vladimir Panteleev 2019-01-08 04:12:12 +02:00 committed by The Dlang Bot
parent 0f998365eb
commit fc061b148b
4 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
/expected1.txt

View File

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

View File

@ -0,0 +1,3 @@
module newmodule;
struct SomeStruct {}

View File

@ -0,0 +1,6 @@
set -e
set -u
../../bin/dcd-client $1 file.d --extended -I"$PWD"/newpackage -c$(stat -c %s file.d) > actual1.txt
echo -e "identifiers\nSomeStruct\ts\t\t$PWD/newpackage/newmodule.d 26\t" > expected1.txt
diff actual1.txt expected1.txt