Skip to content

Commit

Permalink
Merge pull request #3244 from dbp/osbug
Browse files Browse the repository at this point in the history
core: removing repeated code in os.rs homedir() test
  • Loading branch information
brson committed Aug 22, 2012
2 parents aab37fa + 6083409 commit 91c652b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libcore/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 91c652b

Please sign in to comment.