From 3cb2c06b44cc04e0063c8c56d5c934c9bf1be420 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 22 Mar 2021 19:24:26 +0000 Subject: [PATCH] Cleanup some issues left over from previous reviews Bug: 183235980 Test: m nothing Change-Id: I187765c56b889445de3a4729405ee745e5f73729 --- android/fixture.go | 2 +- android/neverallow_test.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/fixture.go b/android/fixture.go index 6c9ea6b62..8d629582d 100644 --- a/android/fixture.go +++ b/android/fixture.go @@ -138,7 +138,7 @@ import ( // } // // func TestJavaStuff(t *testing.T) { -// result := android.GroupFixturePreparers(t, +// result := android.GroupFixturePreparers( // prepareForJavaTest, // android.FixtureWithRootAndroidBp(`java_library {....}`), // android.MockFS{...}.AddToFixture(), diff --git a/android/neverallow_test.go b/android/neverallow_test.go index b8ef0f5f2..de0197a80 100644 --- a/android/neverallow_test.go +++ b/android/neverallow_test.go @@ -308,7 +308,8 @@ func TestNeverallow(t *testing.T) { } }), test.fs.AddToFixture(), - ).ExtendWithErrorHandler(FixtureExpectsAllErrorsToMatchAPattern(test.expectedErrors)). + ). + ExtendWithErrorHandler(FixtureExpectsAllErrorsToMatchAPattern(test.expectedErrors)). RunTest(t) }) }