require->assert in test

This commit is contained in:
Matt Joiner 2016-01-19 01:41:33 +11:00
parent 2f40c48d37
commit 9f79838033
1 changed files with 1 additions and 1 deletions

View File

@ -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{