Skip to content

Commit 4688ec2

Browse files
committed
Add test case for issue #3070 mixed path separators on Windows
1 parent 966ff77 commit 4688ec2

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

tests/issue3070/dub.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "issue3070",
3+
"description": "Test mixed path separators do not duplicate mainSourceFile",
4+
"targetType": "executable",
5+
"sourcePaths": ["src"],
6+
"mainSourceFile": "src/main.d"
7+
}

tests/issue3070/src/main.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
void main() {}

tests/run.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
runDubTest("issue3070");

0 commit comments

Comments
 (0)