summaryrefslogtreecommitdiff
path: root/android/vintf_fragment_test.go
diff options
context:
space:
mode:
author Justin Yun <justinyun@google.com> 2024-12-18 17:50:43 +0900
committer Justin Yun <justinyun@google.com> 2024-12-18 17:57:50 +0900
commitf5ed2beb016b3932e58cd02e0f16fb7b0a28028c (patch)
tree24a03625018420ce9e68af7efa234823d50a4080 /android/vintf_fragment_test.go
parent5d42cdf1a40e5478c72d976852ded5b793692ce1 (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/vintf_fragment_test.go')
-rw-r--r--android/vintf_fragment_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/vintf_fragment_test.go b/android/vintf_fragment_test.go
index cd90b986c..cb038f5ad 100644
--- a/android/vintf_fragment_test.go
+++ b/android/vintf_fragment_test.go
@@ -31,6 +31,6 @@ func TestVintfManifestBuildAction(t *testing.T) {
vintfFragmentBuild := testResult.TestContext.ModuleForTests("test_vintf_fragment", "android_common").Rule("assemble_vintf")
if !strings.Contains(vintfFragmentBuild.RuleParams.Command, "assemble_vintf") {
- t.Errorf("Vintf_manifest build command does not process with assemble_vintf : " + vintfFragmentBuild.RuleParams.Command)
+ t.Error("Vintf_manifest build command does not process with assemble_vintf : " + vintfFragmentBuild.RuleParams.Command)
}
}