Skip to content

Commit

Permalink
fix: change alias name
Browse files Browse the repository at this point in the history
  • Loading branch information
songzhibin97 committed Dec 13, 2022
1 parent 7dfcc94 commit 545aa71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions parser/consistent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package parser

import (
iou "io"
gio "io"
"os"
"sort"
"strings"
Expand All @@ -27,7 +27,7 @@ func TestKeywordConsistent(t *testing.T) {
parserFilename := "parser.y"
parserFile, err := os.Open(parserFilename)
requires.NoError(t, err)
data, err := iou.ReadAll(parserFile)
data, err := gio.ReadAll(parserFile)
requires.NoError(t, err)
content := string(data)

Expand Down
4 changes: 2 additions & 2 deletions parser/reserved_words_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
// needed to connect to MySQL

dbsql "database/sql"
iou "io"
gio "io"
"os"
"testing"

Expand All @@ -41,7 +41,7 @@ func TestCompareReservedWordsWithMySQL(t *testing.T) {
parserFilename := "parser.y"
parserFile, err := os.Open(parserFilename)
requires.NoError(t, err)
data, err := iou.ReadAll(parserFile)
data, err := gio.ReadAll(parserFile)
requires.NoError(t, err)
content := string(data)

Expand Down

0 comments on commit 545aa71

Please sign in to comment.