diff options
author | 2017-10-10 23:07:38 -0700 | |
---|---|---|
committer | 2017-10-10 23:28:43 -0700 | |
commit | 6ccbc913e4f905c1d7ce70f78e098ecc5cd253c0 (patch) | |
tree | 1370e05a549e0deca864ae3aaa02f7445ba26ef4 /android/prebuilt_test.go | |
parent | 92430106c3c96d8a2cce2e4cb5a7746517c3965f (diff) |
Let tests override environment
Pass an environment to TestConfig that will be used for
all Config.Getenv calls.
Test: none
Change-Id: I683cd9c9e0db61c9bfd2adb27fca78f558f225c4
Diffstat (limited to 'android/prebuilt_test.go')
-rw-r--r-- | android/prebuilt_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/prebuilt_test.go b/android/prebuilt_test.go index 9a1de9c75..93f580535 100644 --- a/android/prebuilt_test.go +++ b/android/prebuilt_test.go @@ -118,7 +118,7 @@ func TestPrebuilts(t *testing.T) { } defer os.RemoveAll(buildDir) - config := TestConfig(buildDir) + config := TestConfig(buildDir, nil) for _, test := range prebuiltsTests { t.Run(test.name, func(t *testing.T) { |