File tree 1 file changed +3
-3
lines changed
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() {
292
292
TableFactor :: Table {
293
293
name, json_path, ..
294
294
} => {
295
- assert_eq ! ( name, & ObjectName ( vec![ Ident :: new( "src" ) ] ) ) ;
295
+ assert_eq ! ( name, & ObjectName :: from ( vec![ Ident :: new( "src" ) ] ) ) ;
296
296
assert_eq ! (
297
297
json_path,
298
298
& Some ( JsonPath {
@@ -316,7 +316,7 @@ fn test_parse_json_path_from() {
316
316
TableFactor :: Table {
317
317
name, json_path, ..
318
318
} => {
319
- assert_eq ! ( name, & ObjectName ( vec![ Ident :: new( "src" ) ] ) ) ;
319
+ assert_eq ! ( name, & ObjectName :: from ( vec![ Ident :: new( "src" ) ] ) ) ;
320
320
assert_eq ! (
321
321
json_path,
322
322
& Some ( JsonPath {
@@ -349,7 +349,7 @@ fn test_parse_json_path_from() {
349
349
} => {
350
350
assert_eq ! (
351
351
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" ) ] )
353
353
) ;
354
354
assert_eq ! ( json_path, & None ) ;
355
355
}
You can’t perform that action at this time.
0 commit comments