mirror of https://github.com/pkg/sftp.git
Fix PR comments (build tags, %q)
This commit is contained in:
parent
c93b0a0af2
commit
8514370390
|
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
|
@ -1,6 +1,3 @@
|
|||
//go:build plan9
|
||||
// +build plan9
|
||||
|
||||
package sftp
|
||||
|
||||
import (
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue