File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -225,5 +225,5 @@ func (l *Lexer) consumeComment() {
225
225
}
226
226
227
227
func (l * Lexer ) CatchScannerError (s * scanner.Scanner , msg string ) {
228
- l .SyntaxError (fmt . Sprintf ( "%s. See near %s" , msg , s . TokenText ()) )
228
+ l .SyntaxError (msg )
229
229
}
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ var multilineStringTests = []consumeTestCase {
106
106
description : "Multiline strings are not allowed" ,
107
107
definition : `"Hello
108
108
World"` ,
109
- expected : `graphql: syntax error: literal not terminated. See near "Hello (line 1, column 1)` ,
109
+ expected : `graphql: syntax error: literal not terminated (line 1, column 1)` ,
110
110
failureExpected : true ,
111
111
useStringDescriptions : true ,
112
112
},
You can’t perform that action at this time.
0 commit comments