Skip to content

Commit 66c59d5

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

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

itest/hashmailserver_harness.go

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

2222
// NewHashmailHarness creates a new instance of the HashmailHarness.
23+
// nolint:exhaustruct
2324
func NewHashmailHarness() *HashmailHarness {
2425
return &HashmailHarness{
2526
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)