core: removing repeated code in os.rs homedir() test

This commit is contained in:
Daniel Patterson 2012-08-21 19:26:32 -04:00
parent 9440f8e9b8
commit 6083409f17

View File

@ -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");