Commit f3569282 authored by Steven Allen's avatar Steven Allen

test: fix an edge case

parent a7bc21a3
......@@ -40,6 +40,9 @@ func TestWriteTo(t *testing.T) {
"5/a": "foobar",
}
err = filepath.Walk(path, func(cpath string, info os.FileInfo, err error) error {
if err != nil {
return err
}
rpath, err := filepath.Rel(path, cpath)
if err != nil {
return err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment