mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-08 17:24:08 +00:00
parent
f72832d591
commit
57ea8a1bf5
@ -138,7 +138,7 @@ func TestRequest(t *testing.T) {
|
|||||||
// Existing, shared file
|
// Existing, shared file
|
||||||
res, err := m.Request(device1, "default", "foo", 6, 0, nil, 0, false)
|
res, err := m.Request(device1, "default", "foo", 6, 0, nil, 0, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
bs := res.Data()
|
bs := res.Data()
|
||||||
if !bytes.Equal(bs, []byte("foobar")) {
|
if !bytes.Equal(bs, []byte("foobar")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user