mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Switch Driver back to parameters for construction (#4849)
This is for more complex construction, see #4846
This commit is contained in:
@@ -43,11 +43,8 @@ class DriverTest : public testing::Test {
|
||||
DriverTest()
|
||||
: installation_(
|
||||
InstallPaths::MakeForBazelRunfiles(Testing::GetExePath())),
|
||||
driver_({.fs = fs_,
|
||||
.installation = &installation_,
|
||||
.input_stream = nullptr,
|
||||
.output_stream = &test_output_stream_,
|
||||
.error_stream = &test_error_stream_}) {
|
||||
driver_(fs_, &installation_, /*input_stream=*/nullptr,
|
||||
&test_output_stream_, &test_error_stream_) {
|
||||
char* tmpdir_env = getenv("TEST_TMPDIR");
|
||||
CARBON_CHECK(tmpdir_env != nullptr);
|
||||
test_tmpdir_ = tmpdir_env;
|
||||
|
||||
Reference in New Issue
Block a user