Added test case
This commit is contained in:
parent
b810daaa8f
commit
6ecc8ffd7c
|
@ -0,0 +1,3 @@
|
|||
module tc033.bar;
|
||||
|
||||
void fooBarFunc() {}
|
|
@ -0,0 +1,2 @@
|
|||
identifiers
|
||||
bar M
|
|
@ -0,0 +1,2 @@
|
|||
identifiers
|
||||
fooBarFunc f
|
|
@ -0,0 +1,3 @@
|
|||
import tc033.bar;
|
||||
|
||||
void main() { fooBarF }
|
|
@ -0,0 +1,10 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
../../bin/dcd-client $1 -I bar.d
|
||||
|
||||
../../bin/dcd-client $1 file.d -c 15 | sed s\""$(dirname "$(pwd)")"\"\" > actual1.txt
|
||||
diff actual1.txt expected1.txt
|
||||
|
||||
../../bin/dcd-client $1 file.d -c 40 | sed s\""$(dirname "$(pwd)")"\"\" > actual2.txt
|
||||
diff actual2.txt expected2.txt
|
Loading…
Reference in New Issue