mirror of
https://github.com/rclone/rclone.git
synced 2025-12-22 03:03:20 +00:00
vendor: update all dependencies to latest versions
This commit is contained in:
6
vendor/github.com/ncw/swift/watchdog_reader_test.go
generated
vendored
6
vendor/github.com/ncw/swift/watchdog_reader_test.go
generated
vendored
@@ -106,7 +106,7 @@ func TestWatchdogReaderOnSlowNetwork(t *testing.T) {
|
||||
b := make([]byte, len(byteString))
|
||||
n, err := io.ReadFull(wr, b)
|
||||
if err != nil || n != len(b) || !bytes.Equal(b, byteString) {
|
||||
t.Fatal("Bad read %s %d", err, n)
|
||||
t.Fatalf("Bad read %s %d", err, n)
|
||||
}
|
||||
|
||||
checkTimer(t, firedChan, false)
|
||||
@@ -129,9 +129,9 @@ func TestWatchdogReaderValidity(t *testing.T) {
|
||||
b := make([]byte, len(byteString))
|
||||
n, err := io.ReadFull(wr, b)
|
||||
if err != nil || n != len(b) {
|
||||
t.Fatal("Read error: %s", err)
|
||||
t.Fatalf("Read error: %s", err)
|
||||
}
|
||||
if !bytes.Equal(b, byteString) {
|
||||
t.Fatal("Bad read: %#v != %#v", string(b), string(byteString))
|
||||
t.Fatalf("Bad read: %#v != %#v", string(b), string(byteString))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user