about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcore/os.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/os.rs b/src/libcore/os.rs
index 1b68ffc6f38..f828da84090 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");