From 61cf8b79bc9a81edee12a17b023055db887c2c9c Mon Sep 17 00:00:00 2001 From: buddhamagnet Date: Sat, 26 Mar 2016 21:14:54 +0000 Subject: [PATCH] drop unused md variable --- middleware/markdown/metadata_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/markdown/metadata_test.go b/middleware/markdown/metadata_test.go index 1c3fc6a4c..f219d9237 100644 --- a/middleware/markdown/metadata_test.go +++ b/middleware/markdown/metadata_test.go @@ -201,7 +201,7 @@ func TestParsers(t *testing.T) { } // invalid metadata - if md, err = v.parser.Parse([]byte(v.testData[3])); err == nil { + if _, err = v.parser.Parse([]byte(v.testData[3])); err == nil { t.Fatalf("Expected error for invalid metadata for %v", v.name) }