diff --git a/cmd/config_test.go b/cmd/config_test.go index 5c43d78..cb65a8f 100644 --- a/cmd/config_test.go +++ b/cmd/config_test.go @@ -24,7 +24,7 @@ func TestConfigTargets(t *testing.T) { }, "one file": { setup: func(t *testing.T, d string) { - touch(t, "x") + touch(t, path.Join(d, "x")) }, given: "x", want: []string{"x"},