htlcswitch/switch_test: add t.Helper() to assertion

This commit is contained in:
Conner Fromknecht 2020-04-07 11:54:02 -07:00
parent 028345daea
commit 77041c131a
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -2895,6 +2895,8 @@ func testHtcNotifier(t *testing.T, testOpts []serverOption, iterations int,
func checkHtlcEvents(t *testing.T, events <-chan interface{},
expectedEvents []interface{}) {
t.Helper()
for _, expected := range expectedEvents {
select {
case event := <-events: