File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ fn test_parse_json_path_from() {
300
300
TableFactor :: Table {
301
301
name, json_path, ..
302
302
} => {
303
- assert_eq ! ( name, & ObjectName ( vec![ Ident :: new( "src" ) ] ) ) ;
303
+ assert_eq ! ( name, & ObjectName :: from ( vec![ Ident :: new( "src" ) ] ) ) ;
304
304
assert_eq ! (
305
305
json_path,
306
306
& Some ( JsonPath {
@@ -324,7 +324,7 @@ fn test_parse_json_path_from() {
324
324
TableFactor :: Table {
325
325
name, json_path, ..
326
326
} => {
327
- assert_eq ! ( name, & ObjectName ( vec![ Ident :: new( "src" ) ] ) ) ;
327
+ assert_eq ! ( name, & ObjectName :: from ( vec![ Ident :: new( "src" ) ] ) ) ;
328
328
assert_eq ! (
329
329
json_path,
330
330
& Some ( JsonPath {
@@ -357,7 +357,7 @@ fn test_parse_json_path_from() {
357
357
} => {
358
358
assert_eq ! (
359
359
name,
360
- & ObjectName ( vec![ Ident :: new( "src" ) , Ident :: new( "a" ) , Ident :: new( "b" ) ] )
360
+ & ObjectName :: from ( vec![ Ident :: new( "src" ) , Ident :: new( "a" ) , Ident :: new( "b" ) ] )
361
361
) ;
362
362
assert_eq ! ( json_path, & None ) ;
363
363
}
You can’t perform that action at this time.
0 commit comments