X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=remote%2Fainsl%2Fainsl_test.go;h=ed52bb0f758f4981948e4ff9fbf5b6918f1bee8c;hp=3d391f0ce49ceaf5e68eb1052e0ddae1bc3671fa;hb=2804606f9f8dc5078c38580bac363b47eb638620;hpb=a950980d2e302547743fb567d0636b766f4e9704 diff --git a/remote/ainsl/ainsl_test.go b/remote/ainsl/ainsl_test.go index 3d391f0..ed52bb0 100644 --- a/remote/ainsl/ainsl_test.go +++ b/remote/ainsl/ainsl_test.go @@ -54,10 +54,10 @@ func TestHandle(t *testing.T) { } _, 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 { @@ -293,7 +293,7 @@ func TestHandle(t *testing.T) { }, }, nil, - fmt.Errorf("\"file\" is not a regular file but p---------"), + fmt.Errorf("\"file\": not a regular file but p---------"), }, }