File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -2788,8 +2788,11 @@ pub mod test {
2788
2788
sys. fs_insert_json ( root_dir ( ) . join ( "dir/package.json" ) , json ! ( { } ) ) ;
2789
2789
let workspace_dir = workspace_at_start_dir ( & sys, & root_dir ( ) . join ( "pkg" ) ) ;
2790
2790
assert_eq ! ( workspace_dir. workspace. diagnostics( ) , vec![ ] ) ;
2791
- let patch_folders =
2792
- workspace_dir. workspace . patch_folders ( ) . collect :: < Vec < _ > > ( ) ;
2791
+ let patch_folders = workspace_dir
2792
+ . workspace
2793
+ . patch_folders ( )
2794
+ . values ( )
2795
+ . collect :: < Vec < _ > > ( ) ;
2793
2796
assert_eq ! ( patch_folders. len( ) , 1 ) ;
2794
2797
assert_eq ! (
2795
2798
patch_folders[ 0 ] . pkg_json. as_ref( ) . unwrap( ) . specifier( ) ,
@@ -2810,8 +2813,11 @@ pub mod test {
2810
2813
} ,
2811
2814
) ;
2812
2815
assert_eq ! ( workspace_dir. workspace. diagnostics( ) , vec![ ] ) ;
2813
- let patch_folders =
2814
- workspace_dir. workspace . patch_folders ( ) . collect :: < Vec < _ > > ( ) ;
2816
+ let patch_folders = workspace_dir
2817
+ . workspace
2818
+ . patch_folders ( )
2819
+ . values ( )
2820
+ . collect :: < Vec < _ > > ( ) ;
2815
2821
assert_eq ! ( patch_folders. len( ) , 1 ) ;
2816
2822
assert_eq ! (
2817
2823
patch_folders[ 0 ] . deno_json. as_ref( ) . unwrap( ) . specifier,
You can’t perform that action at this time.
0 commit comments