Skip to content

Commit 25a9382

Browse files
committed
Vars not used
1 parent 80085da commit 25a9382

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

email_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func TestEmail_ParseTemplate(t *testing.T) {
143143
}
144144

145145
// Parse - missing file
146-
parsedTemplate, err = email.ParseTemplate(filepath.Join("examples", "missing_file.txt"))
146+
_, err = email.ParseTemplate(filepath.Join("examples", "missing_file.txt"))
147147
if err == nil {
148148
t.Fatalf("%s: error expected but was nil", t.Name())
149149
}
@@ -184,7 +184,7 @@ func TestEmail_ParseHTMLTemplate(t *testing.T) {
184184
}
185185

186186
// Parse - missing file
187-
parsedTemplate, err = email.ParseHTMLTemplate(filepath.Join("examples", "missing_file.html"))
187+
_, err = email.ParseHTMLTemplate(filepath.Join("examples", "missing_file.html"))
188188
if err == nil {
189189
t.Fatalf("%s: error expected but was nil", t.Name())
190190
}

0 commit comments

Comments
 (0)