Merge "Fix "filename too long" issue on Luci caused by test name"

This commit is contained in:
Nicolas Geoffray 2021-03-24 20:45:38 +00:00 committed by Gerrit Code Review
commit ed35a90d2c
1 changed files with 1 additions and 1 deletions

View File

@ -831,7 +831,7 @@ func TestJavaSdkLibraryEnforce(t *testing.T) {
} }
runTest := func(t *testing.T, info testConfigInfo, expectedErrorPattern string) { runTest := func(t *testing.T, info testConfigInfo, expectedErrorPattern string) {
t.Run(fmt.Sprintf("%#v", info), func(t *testing.T) { t.Run(fmt.Sprintf("%v", info), func(t *testing.T) {
errorHandler := android.FixtureExpectsNoErrors errorHandler := android.FixtureExpectsNoErrors
if expectedErrorPattern != "" { if expectedErrorPattern != "" {
errorHandler = android.FixtureExpectsAtLeastOneErrorMatchingPattern(expectedErrorPattern) errorHandler = android.FixtureExpectsAtLeastOneErrorMatchingPattern(expectedErrorPattern)