diff --git a/src/libcore/os.rs b/src/libcore/os.rs index 1b68ffc6f38fe..f828da8409000 100644 --- a/src/libcore/os.rs +++ b/src/libcore/os.rs @@ -966,9 +966,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");