From 39d3aa6eca41046b217a49c9a22aec9384365658 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Fri, 24 May 2019 14:17:49 +0200 Subject: [PATCH] lnd_test: add t.Skip to *harnessTest --- lnd_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lnd_test.go b/lnd_test.go index a1aa4ae2c..a57538367 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -68,6 +68,12 @@ func newHarnessTest(t *testing.T) *harnessTest { return &harnessTest{t, nil} } +// Skipf calls the underlying testing.T's Skip method, causing the current test +// to be skipped. +func (h *harnessTest) Skipf(format string, args ...interface{}) { + h.t.Skipf(format, args...) +} + // Fatalf causes the current active test case to fail with a fatal error. All // integration tests should mark test failures solely with this method due to // the error stack traces it produces.