}
_, uid, _, gid := ft.CurrentUserAndGroup()
- symlinkExists := "open file: too many levels of symbolic links"
+ symlinkExists := "\"file\": too many levels of symbolic links"
if runtime.GOOS == "freebsd" {
// EMLINK instead of ELOOP
- symlinkExists = "open file: too many links"
+ symlinkExists = "\"file\": too many links"
}
tests := []struct {
},
},
nil,
- fmt.Errorf("\"file\" is not a regular file but p---------"),
+ fmt.Errorf("\"file\": not a regular file but p---------"),
},
}