core: removing repeated code in os.rs homedir() test
This commit is contained in:
parent
9440f8e9b8
commit
6083409f17
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user