Skip to content

Commit

Permalink
core: removing repeated code in os.rs homedir() test
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Patterson committed Aug 21, 2012
1 parent 9440f8e commit 6083409
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libcore/os.rs
Expand Up @@ -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");
Expand Down

0 comments on commit 6083409

Please sign in to comment.