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 @@ -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 }
You can’t perform that action at this time.
0 commit comments