fix test regressions on windows from previous commit

This commit is contained in:
Andrew Kelley 2018-01-04 16:36:59 -05:00
parent d008e209e7
commit 7e65fe7ac3

View File

@ -1573,7 +1573,7 @@ pub fn selfExePath(allocator: &mem.Allocator) -> %[]u8 {
out_path.shrink(copied_amt);
return out_path.toOwnedSlice();
}
const new_len = (%return math.shlExact(out_path.len(), 1)) | 0b1;
const new_len = (out_path.len() << 1) | 0b1;
%return out_path.resize(new_len);
}
},