summaryrefslogtreecommitdiff
path: root/src/pkg/ebnf/ebnf_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/ebnf/ebnf_test.go')
-rw-r--r--src/pkg/ebnf/ebnf_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pkg/ebnf/ebnf_test.go b/src/pkg/ebnf/ebnf_test.go
index a487bdc2c..e6f670530 100644
--- a/src/pkg/ebnf/ebnf_test.go
+++ b/src/pkg/ebnf/ebnf_test.go
@@ -5,9 +5,9 @@
package ebnf
import (
- "io/ioutil";
- "strings";
- "testing";
+ "io/ioutil"
+ "strings"
+ "testing"
)
@@ -41,7 +41,7 @@ var grammars = []string{
func check(t *testing.T, filename string, src []byte) {
- grammar, err := Parse(filename, src);
+ grammar, err := Parse(filename, src)
if err != nil {
t.Errorf("Parse(%s) failed: %v", src, err)
}
@@ -65,10 +65,10 @@ var files = []string{
func TestFiles(t *testing.T) {
for _, filename := range files {
- src, err := ioutil.ReadFile(filename);
+ src, err := ioutil.ReadFile(filename)
if err != nil {
t.Fatal(err)
}
- check(t, filename, src);
+ check(t, filename, src)
}
}