Fix PR comments (build tags, %q)

This commit is contained in:
Mathias Fredriksson 2022-10-18 19:36:12 +03:00
parent c93b0a0af2
commit 8514370390
3 changed files with 4 additions and 10 deletions

View File

@ -1,5 +1,5 @@
//go:build !windows && !plan9
// +build !windows,!plan9
//go:build !windows
// +build !windows
package sftp
@ -80,7 +80,7 @@ func TestServer_toLocalPath(t *testing.T) {
}
if got := s.toLocalPath(tt.p); got != tt.want {
t.Errorf("Server.toLocalPath() = %v, want %v", got, tt.want)
t.Errorf("Server.toLocalPath() = %q, want %q", got, tt.want)
}
})
}

View File

@ -1,6 +1,3 @@
//go:build plan9
// +build plan9
package sftp
import (

View File

@ -1,6 +1,3 @@
//go:build windows
// +build windows
package sftp
import (
@ -80,7 +77,7 @@ func TestServer_toLocalPath(t *testing.T) {
}
if got := s.toLocalPath(tt.p); got != tt.want {
t.Errorf("Server.toLocalPath() = %v, want %v", got, tt.want)
t.Errorf("Server.toLocalPath() = %q, want %q", got, tt.want)
}
})
}