Skip to content

Commit e801daf

Browse files
itest: adjust code according to linters
1 parent 42afd95 commit e801daf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

itest/hashmailserver_harness.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ type HashmailHarness struct {
2020
}
2121

2222
// NewHashmailHarness creates a new instance of the HashmailHarness.
23+
//
24+
//nolint:exhaustruct
2325
func NewHashmailHarness() *HashmailHarness {
2426
return &HashmailHarness{
2527
ApertureCfg: &aperture.Config{

itest/test_harness.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,14 @@ func newHarnessTest(t *testing.T, cfg *testConfig) *harnessTest {
6060

6161
mailboxAddr := testnetMailbox
6262
var insecure bool
63+
6364
if !cfg.stagingMailbox {
6465
ht.hmserver = NewHashmailHarness()
66+
6567
if err := ht.hmserver.Start(); err != nil {
6668
t.Fatalf("could not start hashmail server: %v", err)
6769
}
70+
6871
mailboxAddr = ht.hmserver.ApertureCfg.ListenAddr
6972
insecure = true
7073
}

0 commit comments

Comments
 (0)