We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80085da commit 25a9382Copy full SHA for 25a9382
1 file changed
email_test.go
@@ -143,7 +143,7 @@ func TestEmail_ParseTemplate(t *testing.T) {
143
}
144
145
// Parse - missing file
146
- parsedTemplate, err = email.ParseTemplate(filepath.Join("examples", "missing_file.txt"))
+ _, err = email.ParseTemplate(filepath.Join("examples", "missing_file.txt"))
147
if err == nil {
148
t.Fatalf("%s: error expected but was nil", t.Name())
149
@@ -184,7 +184,7 @@ func TestEmail_ParseHTMLTemplate(t *testing.T) {
184
185
186
187
- parsedTemplate, err = email.ParseHTMLTemplate(filepath.Join("examples", "missing_file.html"))
+ _, err = email.ParseHTMLTemplate(filepath.Join("examples", "missing_file.html"))
188
189
190
0 commit comments