Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ayman-sigma committed Nov 26, 2024
1 parent 176cf13 commit 29f2610
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/sqlparser_redshift.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ fn test_parse_json_path_from() {
TableFactor::Table {
name, json_path, ..
} => {
assert_eq!(name, &ObjectName(vec![Ident::new("src")]));
assert_eq!(name, &ObjectName::from(vec![Ident::new("src")]));
assert_eq!(
json_path,
&Some(JsonPath {
Expand All @@ -309,7 +309,7 @@ fn test_parse_json_path_from() {
TableFactor::Table {
name, json_path, ..
} => {
assert_eq!(name, &ObjectName(vec![Ident::new("src")]));
assert_eq!(name, &ObjectName::from(vec![Ident::new("src")]));
assert_eq!(
json_path,
&Some(JsonPath {
Expand Down Expand Up @@ -342,7 +342,7 @@ fn test_parse_json_path_from() {
} => {
assert_eq!(
name,
&ObjectName(vec![Ident::new("src"), Ident::new("a"), Ident::new("b")])
&ObjectName::from(vec![Ident::new("src"), Ident::new("a"), Ident::new("b")])
);
assert_eq!(json_path, &None);
}
Expand Down

0 comments on commit 29f2610

Please sign in to comment.