We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7bafd commit 4af9f16Copy full SHA for 4af9f16
internal/common/lexer.go
@@ -226,4 +226,4 @@ func (l *Lexer) consumeComment() {
226
227
func (l *Lexer) CatchScannerError(s *scanner.Scanner, msg string) {
228
l.SyntaxError(msg)
229
-}
+}
internal/common/lexer_test.go
@@ -118,7 +118,6 @@ func TestMultilineString(t *testing.T) {
118
lex := common.NewLexer(test.definition, test.useStringDescriptions)
119
120
err := lex.CatchSyntaxError(func() { lex.ConsumeWhitespace() })
121
-
122
if test.failureExpected && err == nil {
123
t.Fatalf("Test '%s' should fail", test.description)
124
} else if test.failureExpected && err != nil {
@@ -132,4 +131,4 @@ func TestMultilineString(t *testing.T) {
132
131
}
133
})
134
135
0 commit comments