Fix more windows breakage

This commit is contained in:
Brian Anderson 2012-09-23 19:53:42 -07:00
parent 690525ed81
commit acab1cd2ce

@ -973,8 +973,8 @@ mod tests {
setenv(~"USERPROFILE", ~"/home/PaloAlto");
assert os::homedir() == Some(Path("/home/MountainView"));
option::iter(oldhome, |s| setenv(~"HOME", s));
option::iter(olduserprofile,
option::iter(&oldhome, |s| setenv(~"HOME", s));
option::iter(&olduserprofile,
|s| setenv(~"USERPROFILE", s));
}