require->assert in test
This commit is contained in:
parent
2f40c48d37
commit
9f79838033
|
@ -361,7 +361,7 @@ func TestSeedAfterDownloading(t *testing.T) {
|
|||
defer r.Close()
|
||||
b, err := ioutil.ReadAll(r)
|
||||
require.NoError(t, err)
|
||||
require.EqualValues(t, testutil.GreetingFileContents, b)
|
||||
assert.EqualValues(t, testutil.GreetingFileContents, b)
|
||||
}()
|
||||
leecherGreeting.AddPeers([]Peer{
|
||||
Peer{
|
||||
|
|
Loading…
Reference in New Issue