File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -907,14 +907,13 @@ fn symlink_noexist() {
907
907
#[ test]
908
908
fn read_link ( ) {
909
909
if cfg ! ( windows) {
910
- let environment_variable = "CI" ;
911
910
// directory symlink
912
911
assert_eq ! ( check!( fs:: read_link( r"C:\Users\All Users" ) ) , Path :: new( r"C:\ProgramData" ) ) ;
913
912
// junction
914
913
assert_eq ! ( check!( fs:: read_link( r"C:\Users\Default User" ) ) , Path :: new( r"C:\Users\Default" ) ) ;
915
914
// junction with special permissions
916
915
// Since not all localized windows versions contain the folder "Documents and settings" in english,
917
- // we will briefly check, if it exists and otherwise skip the test. Except durin CI we will always execute the test.
916
+ // we will briefly check, if it exists and otherwise skip the test. Except during CI we will always execute the test.
918
917
if Path :: new ( r"C:\Documents and settings\" ) . exists ( ) || env:: var_os ( "CI" ) . is_some ( ) {
919
918
assert_eq ! (
920
919
check!( fs:: read_link( r"C:\Documents and settings\" ) ) ,
You can’t perform that action at this time.
0 commit comments