From d76b8bbb9347c6512b817436658f6707e296b8b8 Mon Sep 17 00:00:00 2001 From: Michael Robinson Date: Tue, 29 Jun 2021 20:58:43 -0600 Subject: [PATCH] add assertion to single_nzb_details test --- newznab/newznab_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/newznab/newznab_test.go b/newznab/newznab_test.go index b0625a5..6146405 100644 --- a/newznab/newznab_test.go +++ b/newznab/newznab_test.go @@ -179,8 +179,9 @@ func TestUsenetCrawlerClient(t *testing.T) { }) t.Run("single nzb details", func(t *testing.T) { - _, err := client.Details("4694b91a86adc4ebd3b289687ebf4b0d") + d, err := client.Details("4694b91a86adc4ebd3b289687ebf4b0d") require.NoError(t, err) + require.Equal(t, "Car.Craft-July.2015", d.Channel.Item.Title) }) }) }