diff --git a/src/libcore/os.rs b/src/libcore/os.rs index 1ce95753497..4e5536f484d 100644 --- a/src/libcore/os.rs +++ b/src/libcore/os.rs @@ -963,9 +963,6 @@ mod tests { setenv(~"USERPROFILE", ~"/home/MountainView"); assert os::homedir() == some(~"/home/MountainView"); - setenv(~"USERPROFILE", ~"/home/MountainView"); - assert os::homedir() == some(~"/home/MountainView"); - setenv(~"HOME", ~"/home/MountainView"); setenv(~"USERPROFILE", ~"/home/PaloAlto"); assert os::homedir() == some(~"/home/MountainView");