Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0369669

Browse files
committedApr 26, 2019
Fixed TestSQLTestSuite/TestWrongQuery
Signed-off-by: Lou Marvin Caraig <[email protected]>
1 parent 4db06e2 commit 0369669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cmdtests/sql_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ func (s *SQLTestSuite) TestWrongQuery() {
146146
}{
147147
{
148148
query: "show",
149-
err: "ERROR 1105 (HY000) at line 1: unknown error: syntax error at position",
149+
err: "ERROR 1105 (HY000) at line 1: unknown error: Code: INVALID_ARGUMENT",
150150
},
151151
{
152152
query: "select from repositories",
153-
err: "ERROR 1105 (HY000) at line 1: unknown error: syntax error at position",
153+
err: "ERROR 1105 (HY000) at line 1: unknown error: Code: INVALID_ARGUMENT",
154154
},
155155
{
156156
query: "select * from nope",

0 commit comments

Comments
 (0)
Please sign in to comment.