mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 04:46:30 -04:00
gofmt
This commit is contained in:
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user