fix TestTreeSplit on Windows

This commit is contained in:
Rafal Jeczalik
2015-01-03 12:40:44 +01:00
parent dcf437b004
commit ff898116a4
+2 -2
View File
@@ -41,8 +41,8 @@ func TestTreeSplit(t *testing.T) {
if dir != cas.dir {
t.Errorf("want dir=%s; got %s (i=%d)", cas.dir, dir, i)
}
if base != cas.base {
t.Errorf("want base=%s; got %s (i=%d)", cas.base, base, i)
if want := filepath.FromSlash(cas.base); base != want {
t.Errorf("want base=%s; got %s (i=%d)", want, base, i)
}
}
}