htlcswitch/switch_test: add t.Helper() to assertion
This commit is contained in:
parent
028345daea
commit
77041c131a
@ -2895,6 +2895,8 @@ func testHtcNotifier(t *testing.T, testOpts []serverOption, iterations int,
|
|||||||
func checkHtlcEvents(t *testing.T, events <-chan interface{},
|
func checkHtlcEvents(t *testing.T, events <-chan interface{},
|
||||||
expectedEvents []interface{}) {
|
expectedEvents []interface{}) {
|
||||||
|
|
||||||
|
t.Helper()
|
||||||
|
|
||||||
for _, expected := range expectedEvents {
|
for _, expected := range expectedEvents {
|
||||||
select {
|
select {
|
||||||
case event := <-events:
|
case event := <-events:
|
||||||
|
Loading…
Reference in New Issue
Block a user