Skip to content

Commit 29f2610

Browse files
committed
fix after rebase
1 parent 176cf13 commit 29f2610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/sqlparser_redshift.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ fn test_parse_json_path_from() {
285285
TableFactor::Table {
286286
name, json_path, ..
287287
} => {
288-
assert_eq!(name, &ObjectName(vec![Ident::new("src")]));
288+
assert_eq!(name, &ObjectName::from(vec![Ident::new("src")]));
289289
assert_eq!(
290290
json_path,
291291
&Some(JsonPath {
@@ -309,7 +309,7 @@ fn test_parse_json_path_from() {
309309
TableFactor::Table {
310310
name, json_path, ..
311311
} => {
312-
assert_eq!(name, &ObjectName(vec![Ident::new("src")]));
312+
assert_eq!(name, &ObjectName::from(vec![Ident::new("src")]));
313313
assert_eq!(
314314
json_path,
315315
&Some(JsonPath {
@@ -342,7 +342,7 @@ fn test_parse_json_path_from() {
342342
} => {
343343
assert_eq!(
344344
name,
345-
&ObjectName(vec![Ident::new("src"), Ident::new("a"), Ident::new("b")])
345+
&ObjectName::from(vec![Ident::new("src"), Ident::new("a"), Ident::new("b")])
346346
);
347347
assert_eq!(json_path, &None);
348348
}

0 commit comments

Comments
 (0)