mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
internal/model: fix formatting directive in test
This commit is contained in:
parent
1795e0a290
commit
2592ba7399
@ -38,10 +38,10 @@ func TestSourceFileOK(t *testing.T) {
|
||||
n, err := fd.Read(bs)
|
||||
|
||||
if n != len(bs) {
|
||||
t.Fatal("Wrong read length %d != %d", n, len(bs))
|
||||
t.Fatalf("Wrong read length %d != %d", n, len(bs))
|
||||
}
|
||||
if string(bs) != "foobar" {
|
||||
t.Fatal("Wrong contents %s != foobar", bs)
|
||||
t.Fatalf("Wrong contents %s != foobar", string(bs))
|
||||
}
|
||||
|
||||
if err := s.failed(); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user