From 6083409f172c8bbea59cec4bac749c46057b4774 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Tue, 21 Aug 2012 19:26:32 -0400 Subject: [PATCH] core: removing repeated code in os.rs homedir() test --- src/libcore/os.rs | 3 --- 1 file changed, 3 deletions(-) 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");