diff options
author | 2024-12-18 17:50:43 +0900 | |
---|---|---|
committer | 2024-12-18 17:57:50 +0900 | |
commit | f5ed2beb016b3932e58cd02e0f16fb7b0a28028c (patch) | |
tree | 24a03625018420ce9e68af7efa234823d50a4080 /android/config_test.go | |
parent | 5d42cdf1a40e5478c72d976852ded5b793692ce1 (diff) |
Remove non-constant format string in soong
go 1.24 does not allow non-constant format string.
Replace them to use non-formated functions or constant strings.
Bug: na
Test: go test -run ^TestPartialCompile$ android/soong/android
Change-Id: I83b2e53c2a01099fe9e8697876b0b4097ac88a7b
Diffstat (limited to 'android/config_test.go')
-rw-r--r-- | android/config_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/config_test.go b/android/config_test.go index adb5ffac5..4fdcc9ca4 100644 --- a/android/config_test.go +++ b/android/config_test.go @@ -77,7 +77,7 @@ Did you mean to use an annotation of ",omitempty"? func TestProductConfigAnnotations(t *testing.T) { err := validateConfigAnnotations(&ProductVariables{}) if err != nil { - t.Errorf(err.Error()) + t.Error(err.Error()) } } |