Ensure dir before files ordering when scanning

This commit is contained in:
Jakob Borg
2015-08-13 13:01:50 +02:00
parent 681306b7a1
commit 99736e5066
2 changed files with 4 additions and 4 deletions

View File

@@ -274,7 +274,7 @@ func TestNormalization(t *testing.T) {
func TestIssue1507(t *testing.T) {
w := Walker{}
c := make(chan protocol.FileInfo, 100)
fn := w.walkAndHashFiles(c)
fn := w.walkAndHashFiles(c, c)
fn("", nil, protocol.ErrClosed)
}