Skip to content

Commit a77b1ea

Browse files
committed
fix after rebase
1 parent 1fd0477 commit a77b1ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/sqlparser_redshift.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ fn test_parse_json_path_from() {
292292
TableFactor::Table {
293293
name, json_path, ..
294294
} => {
295-
assert_eq!(name, &ObjectName(vec![Ident::new("src")]));
295+
assert_eq!(name, &ObjectName::from(vec![Ident::new("src")]));
296296
assert_eq!(
297297
json_path,
298298
&Some(JsonPath {
@@ -316,7 +316,7 @@ fn test_parse_json_path_from() {
316316
TableFactor::Table {
317317
name, json_path, ..
318318
} => {
319-
assert_eq!(name, &ObjectName(vec![Ident::new("src")]));
319+
assert_eq!(name, &ObjectName::from(vec![Ident::new("src")]));
320320
assert_eq!(
321321
json_path,
322322
&Some(JsonPath {
@@ -349,7 +349,7 @@ fn test_parse_json_path_from() {
349349
} => {
350350
assert_eq!(
351351
name,
352-
&ObjectName(vec![Ident::new("src"), Ident::new("a"), Ident::new("b")])
352+
&ObjectName::from(vec![Ident::new("src"), Ident::new("a"), Ident::new("b")])
353353
);
354354
assert_eq!(json_path, &None);
355355
}

0 commit comments

Comments
 (0)