Merge pull request #3244 from dbp/osbug

core: removing repeated code in os.rs homedir() test
This commit is contained in:
Brian Anderson 2012-08-22 15:12:53 -07:00
commit 91c652b1ca

View File

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