diff --git a/source/dub/test/base.d b/source/dub/test/base.d index af26c58..5d6a81a 100644 --- a/source/dub/test/base.d +++ b/source/dub/test/base.d @@ -788,7 +788,7 @@ return parent.writeFile(NativePath(path.head), data); } else { // We're in the right `FSEntry`, create the file - auto file = new FSEntry(parent, Type.File, path.head.name()); + auto file = new FSEntry(this, Type.File, path.head.name()); file.content = data.dup; this.children ~= file; }