Merge pull request #3244 from dbp/osbug
core: removing repeated code in os.rs homedir() test
This commit is contained in:
commit
91c652b1ca
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user