From d20dc58bbf9c50a4b28e2a023d74cf0355e7dac9 Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Wed, 19 Jul 2023 18:14:32 +0100 Subject: [PATCH] gofmt --- helpers_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers_test.go b/helpers_test.go index e2df0f9..257e4f0 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -3,8 +3,8 @@ package highlight import ( "bytes" "io/ioutil" - "testing" "strings" + "testing" ) func getDefs(t *testing.T, filename string, data []byte, highlight_lexer string) *Def { @@ -16,8 +16,8 @@ func getDefs(t *testing.T, filename string, data []byte, highlight_lexer string) if lerr != nil { t.Errorf("Couldn't get defs from '%s', error: %v\n", syn_dir, lerr) } - if (len(warnings) > 0){ - t.Errorf("Parsing ended with warnings: '%s'\n", strings.Join(warnings,";")) + if len(warnings) > 0 { + t.Errorf("Parsing ended with warnings: '%s'\n", strings.Join(warnings, ";")) } ResolveIncludes(defs)