mirror of https://github.com/pkg/sftp.git
vet: formatting directive in Fatal call
This commit is contained in:
parent
8197a2e580
commit
1b13f07bb5
|
@ -29,14 +29,14 @@ func TestClientStatVFS(t *testing.T) {
|
||||||
|
|
||||||
// check some stats
|
// check some stats
|
||||||
if vfs.Frsize != uint64(s.Frsize) {
|
if vfs.Frsize != uint64(s.Frsize) {
|
||||||
t.Fatal("fr_size does not match, expected: %v, got: %v", s.Frsize, vfs.Frsize)
|
t.Fatalf("fr_size does not match, expected: %v, got: %v", s.Frsize, vfs.Frsize)
|
||||||
}
|
}
|
||||||
|
|
||||||
if vfs.Bsize != uint64(s.Bsize) {
|
if vfs.Bsize != uint64(s.Bsize) {
|
||||||
t.Fatal("f_bsize does not match, expected: %v, got: %v", s.Bsize, vfs.Bsize)
|
t.Fatalf("f_bsize does not match, expected: %v, got: %v", s.Bsize, vfs.Bsize)
|
||||||
}
|
}
|
||||||
|
|
||||||
if vfs.Namemax != uint64(s.Namelen) {
|
if vfs.Namemax != uint64(s.Namelen) {
|
||||||
t.Fatal("f_namemax does not match, expected: %v, got: %v", s.Namelen, vfs.Namemax)
|
t.Fatalf("f_namemax does not match, expected: %v, got: %v", s.Namelen, vfs.Namemax)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue