Fix file import test bleeding into other tests (#563)

Fix file import test bleeding into other tests
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
Jan Jurzitza 2018-12-30 03:32:29 +01:00 committed by The Dlang Bot
parent 6ae1b6f890
commit 6d72497a09
3 changed files with 8 additions and 1 deletions

View File

View File

@ -1,6 +1,9 @@
set -e
set -u
../../bin/dcd-client $1 file.d -c 15 | sed s\""$(dirname "$(pwd)")"\"\" > actual3.txt
diff actual3.txt expected3.txt
../../bin/dcd-client $1 -I bar.d
../../bin/dcd-client $1 file.d -c 15 | sed s\""$(dirname "$(pwd)")"\"\" > actual1.txt
@ -8,3 +11,8 @@ diff actual1.txt expected1.txt
../../bin/dcd-client $1 file.d -c 40 | sed s\""$(dirname "$(pwd)")"\"\" > actual2.txt
diff actual2.txt expected2.txt
../../bin/dcd-client $1 -R bar.d
../../bin/dcd-client $1 file.d -c 15 | sed s\""$(dirname "$(pwd)")"\"\" > actual3.txt
diff actual3.txt expected3.txt

View File

@ -1,3 +1,2 @@
identifiers
bar M
module1 M