commit | f46e37f5f79bd7111aed84f6cf172f20431ec010 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Mar 21 16:25:58 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Mar 28 15:54:52 2018 -0700 |
tree | f41e50333685523db810873c0fd88e8446b08264 | |
parent | 2b53a0c4b89397f853fc0479340ee09b1f29cc18 [diff] [blame] |
Fix format string issues Fix issues caught by go vet. Test: m checkbuild Change-Id: Ib8d740457c15432dabe1575a6707726ddaf93084
diff --git a/cc/cc_test.go b/cc/cc_test.go index 2efee59..437211c 100644 --- a/cc/cc_test.go +++ b/cc/cc_test.go
@@ -227,7 +227,7 @@ mod := ctx.ModuleForTests(name, vendorVariant).Module().(*Module) if !mod.hasVendorVariant() { - t.Error("%q must have vendor variant", name) + t.Errorf("%q must have vendor variant", name) } // Check library properties.