Skip to content

Commit

Permalink
Fixed Parameter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RealA10N committed Aug 13, 2024
1 parent 45b58f5 commit bee1abc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parse/parameter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ func TestParameterRegEofError(t *testing.T) {
tkn := lex.Token{Type: lex.TypeToken, View: v}
view := parse.NewTokenView([]lex.Token{tkn})

expected := parse.UnexpectedTokenError{
expected := parse.EofError{
Expected: []lex.TokenType{lex.RegisterToken},
Actual: tkn,
}

_, err := parse.ParameterParser{}.Parse(&view)
Expand Down

0 comments on commit bee1abc

Please sign in to comment.