diff options
author | Tobias Bosch <tbosch@google.com> | 2019-07-13 05:32:22 -0700 |
---|---|---|
committer | Tobias Bosch <tbosch@google.com> | 2019-07-18 08:22:42 +0000 |
commit | 0fc0acdd69e58273ba8987cba9afac2304454561 (patch) | |
tree | 1a1e31d90aaca511fbc2f46d473c74097c2587cf /compiler_wrapper/oldwrapper_test.go | |
parent | 38999a578f1b6942eac771f3fb6ca6bd4930dfdb (diff) | |
download | toolchain-utils-0fc0acdd69e58273ba8987cba9afac2304454561.tar.gz |
Remove unused code
BUG=chromium:773875
TEST=unit test
Change-Id: I83b134aaf559f178834381a1178e287659be2ac1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1702632
Reviewed-by: George Burgess <gbiv@chromium.org>
Tested-by: Tobias Bosch <tbosch@google.com>
Diffstat (limited to 'compiler_wrapper/oldwrapper_test.go')
-rw-r--r-- | compiler_wrapper/oldwrapper_test.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler_wrapper/oldwrapper_test.go b/compiler_wrapper/oldwrapper_test.go index d981d0a9..f8432b11 100644 --- a/compiler_wrapper/oldwrapper_test.go +++ b/compiler_wrapper/oldwrapper_test.go @@ -143,16 +143,6 @@ func TestCompareToOldWrapperNestedCommand(t *testing.T) { }) } -func withForwardToOldWrapperTestContext(t *testing.T, work func(ctx *testContext)) { - withTestContext(t, func(ctx *testContext) { - // Need to make sure the old wrapper file exists as oldwrapper.go - // tries to read it. - ctx.cfg.oldWrapperPath = filepath.Join(ctx.tempDir, "somewrapper") - ctx.writeFile(ctx.cfg.oldWrapperPath, "") - work(ctx) - }) -} - func writeMockWrapper(ctx *testContext, cfg *mockWrapperConfig) { const mockTemplate = ` from __future__ import print_function |