Updating tests from lexer version bump

This commit is contained in:
Mike Farah 2023-01-12 14:26:58 +11:00
parent e23c989b78
commit fcda053d73

View File

@ -61,7 +61,7 @@ var participleLexerScenarios = []participleLexerScenario{
TokenType: operationToken, TokenType: operationToken,
Operation: &Operation{ Operation: &Operation{
OperationType: valueOpType, OperationType: valueOpType,
Value: 3, Value: int64(3),
StringValue: "3", StringValue: "3",
CandidateNode: &CandidateNode{ CandidateNode: &CandidateNode{
Node: &yaml.Node{ Node: &yaml.Node{
@ -103,7 +103,7 @@ var participleLexerScenarios = []participleLexerScenario{
TokenType: operationToken, TokenType: operationToken,
Operation: &Operation{ Operation: &Operation{
OperationType: valueOpType, OperationType: valueOpType,
Value: -2, Value: int64(-2),
StringValue: "-2", StringValue: "-2",
CandidateNode: &CandidateNode{ CandidateNode: &CandidateNode{
Node: &yaml.Node{ Node: &yaml.Node{