From fc740701cff64485115bb8030c1307af988d49e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Thu, 10 Dec 2015 21:03:21 +0200 Subject: [PATCH] Cosmetics: fix comment placement and import order --- inline.go | 2 +- inline_test.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/inline.go b/inline.go index 6a0eda6..044ae70 100644 --- a/inline.go +++ b/inline.go @@ -275,8 +275,8 @@ func link(p *parser, out *bytes.Buffer, data []byte, offset int) int { i++ } - // inline style link switch { + // inline style link case i < len(data) && data[i] == '(': // skip initial whitespace i++ diff --git a/inline_test.go b/inline_test.go index 626db11..1806669 100644 --- a/inline_test.go +++ b/inline_test.go @@ -15,9 +15,8 @@ package blackfriday import ( "regexp" - "testing" - "strings" + "testing" ) func runMarkdownInline(input string, opts Options, htmlFlags int, params HtmlRendererParameters) string {