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