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() {
300300 TableFactor :: Table {
301301 name, json_path, ..
302302 } => {
303- assert_eq ! ( name, & ObjectName ( vec![ Ident :: new( "src" ) ] ) ) ;
303+ assert_eq ! ( name, & ObjectName :: from ( vec![ Ident :: new( "src" ) ] ) ) ;
304304 assert_eq ! (
305305 json_path,
306306 & Some ( JsonPath {
@@ -324,7 +324,7 @@ fn test_parse_json_path_from() {
324324 TableFactor :: Table {
325325 name, json_path, ..
326326 } => {
327- assert_eq ! ( name, & ObjectName ( vec![ Ident :: new( "src" ) ] ) ) ;
327+ assert_eq ! ( name, & ObjectName :: from ( vec![ Ident :: new( "src" ) ] ) ) ;
328328 assert_eq ! (
329329 json_path,
330330 & Some ( JsonPath {
@@ -357,7 +357,7 @@ fn test_parse_json_path_from() {
357357 } => {
358358 assert_eq ! (
359359 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" ) ] )
361361 ) ;
362362 assert_eq ! ( json_path, & None ) ;
363363 }
You can’t perform that action at this time.
0 commit comments