From c03593bc0151b793293a852b8e6150820aebe378 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 22 Feb 2016 14:30:02 +1100 Subject: [PATCH] Catch error creating new client in test --- client_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client_test.go b/client_test.go index 30b35232..213f082b 100644 --- a/client_test.go +++ b/client_test.go @@ -441,7 +441,8 @@ func TestReadaheadPieces(t *testing.T) { } func TestMergingTrackersByAddingSpecs(t *testing.T) { - cl, _ := NewClient(&TestingConfig) + cl, err := NewClient(&TestingConfig) + require.NoError(t, err) defer cl.Close() spec := TorrentSpec{} T, new, _ := cl.AddTorrentSpec(&spec)