Skip to content

Commit

Permalink
chore: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Dec 5, 2022
1 parent 7b38d19 commit 7f6f3b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion tests/sqlparser_bigquery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fn parse_join_constraint_unnest_alias() {
assert_eq!(
only(
bigquery()
.verified_only_select(&"SELECT * FROM t1 JOIN UNNEST(t1.a) AS f ON c1 = c2")
.verified_only_select("SELECT * FROM t1 JOIN UNNEST(t1.a) AS f ON c1 = c2")
.from
)
.joins,
Expand Down
19 changes: 0 additions & 19 deletions tests/sqlparser_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3555,25 +3555,6 @@ fn parse_unnest() {
joins: vec![],
}],
);
// 5. WITH OFFSET and WITH OFFSET Alias
chk(
true,
false,
true,
&dialects,
vec![TableWithJoins {
relation: TableFactor::UNNEST {
alias: Some(TableAlias {
name: Ident::new("numbers"),
columns: vec![],
}),
array_expr: Box::new(Expr::Identifier(Ident::new("expr"))),
with_offset: false,
with_offset_alias: Some(Ident::new("with_offset_alias")),
},
joins: vec![],
}],
);
}

#[test]
Expand Down

0 comments on commit 7f6f3b7

Please sign in to comment.