Skip to content

Commit

Permalink
add assertion to single_nzb_details test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinsn committed Jun 30, 2021
1 parent 57aa4bf commit d76b8bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion newznab/newznab_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
})
}

0 comments on commit d76b8bb

Please sign in to comment.