Fix `new` tests on Windows inadvertently picking up ~/.cargo/config.
authorEric Huss <eric@huss.org>
Mon, 16 Oct 2017 23:41:11 +0000 (16:41 -0700)
committerEric Huss <eric@huss.org>
Mon, 16 Oct 2017 23:41:11 +0000 (16:41 -0700)
commiteea294a81d8b4edee678621f227960ce6fd5cb57
treeebcd3d5e174ca6659f52696bd90bde01394c3a59
parent361857e00a10274c64416a7e5de0980c0ae68fa6
Fix `new` tests on Windows inadvertently picking up ~/.cargo/config.

Fixes #4601.  By relying on `__CARGO_TEST_ROOT`, using a temp directory is no
longer necessary.
tests/new.rs