Skip to content

Commit

Permalink
Fixed issue with mach.io.file.traverse unittest
Browse files Browse the repository at this point in the history
It was failing because git wasn't committing empty directories. duh. I feel dumb
  • Loading branch information
pineapplemachine committed Feb 15, 2017
1 parent a3cd738 commit 7f3555a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mach/io/file/traverse.d
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ unittest{
Entry(TestPath ~ "/dir/d.txt"),
Entry(TestPath ~ "/dir/nesteddir", true),
Entry(TestPath ~ "/dir/nesteddir/deep.txt", true),
Entry(TestPath ~ "/dir/nesteddir/deep.txt/deeper.txt", false),
];
void TestTraverse(TraverseDirMode mode)(){
auto files = traversedir!mode(TestPath).asarray;
Expand Down
1 change: 1 addition & 0 deletions mach/io/file/traverse/dir/nesteddir/deep.txt/deeper.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello

0 comments on commit 7f3555a

Please sign in to comment.