mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
htlcswitch/switch_test: add t.Helper() to assertion
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user