File tree 1 file changed +5
-1
lines changed
gix-worktree-state/tests/state
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,10 @@ fn overwriting_files_and_lone_directories_works() -> crate::Result {
178
178
gix_filter:: driver:: apply:: Delay :: Forbid ,
179
179
] {
180
180
let mut opts = opts_from_probe ( ) ;
181
+ assert ! (
182
+ opts. fs. symlink,
183
+ "BUG: the probe must detect to be able to generate symlinks"
184
+ ) ;
181
185
opts. overwrite_existing = true ;
182
186
opts. filter_process_delay = delay;
183
187
opts. destination_is_initially_empty = false ;
@@ -197,7 +201,7 @@ fn overwriting_files_and_lone_directories_works() -> crate::Result {
197
201
let dir = dir. join ( "sub-dir" ) ;
198
202
std:: fs:: create_dir ( & dir) ?;
199
203
200
- symlink:: symlink_dir ( empty, dir. join ( "symlink" ) ) ?; // 'symlink' is a symlink to another file
204
+ symlink:: symlink_dir ( empty, dir. join ( "symlink" ) ) ?; // 'symlink' is a symlink to a directory.
201
205
Ok ( ( ) )
202
206
} ,
203
207
) ?;
You can’t perform that action at this time.
0 commit comments