Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
PakhomovAlexander committed Oct 20, 2024
1 parent 0e0e92c commit 489157b
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -839,23 +839,31 @@ mod tests {
Node::Infix(
Op::Comma,
vec![
Node::Leaf(Literal::identifier("col1")),
Node::Leaf(Literal::identifier("col2")),
Node::Infix(
Op::Comma,
vec![
Node::Leaf(Literal::identifier("col1")),
Node::Leaf(Literal::identifier("col2"))
]
),
Node::Infix(
Op::Plus,
vec![
Node::Leaf(Literal::Numeric(1)),
Node::Leaf(Literal::Numeric(1))
]
),
)
]
),
Node::Prefix(
Op::From,
vec![
Node::Leaf(Literal::identifier("table1")),
Node::Leaf(Literal::identifier("table2"))
]
vec![Node::Infix(
Op::Comma,
vec![
Node::Leaf(Literal::identifier("table1")),
Node::Leaf(Literal::identifier("table2"))
]
)]
)
]
)
Expand Down

0 comments on commit 489157b

Please sign in to comment.