From 35065d8b1b8687ebe7906394de28b8b7f847761f Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Tue, 19 May 2020 06:43:41 -0400 Subject: [PATCH] TestDispatchArgDefaultBuiltins: Unbreak on arm On ARM, the variant is non-empty and reflected in the TARGETPLATFORM default string Fixes: #160 --- dispatchers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatchers_test.go b/dispatchers_test.go index dc46c960..718a9a46 100644 --- a/dispatchers_test.go +++ b/dispatchers_test.go @@ -23,7 +23,7 @@ func TestDispatchArgDefaultBuiltins(t *testing.T) { localspec := platforms.DefaultSpec() expectedArgs := []string{ "BUILDARCH=" + localspec.Architecture, - "TARGETPLATFORM=" + localspec.OS + "/" + localspec.Architecture, + "TARGETPLATFORM=" + platforms.DefaultString(), } got := mybuilder.Arguments() sort.Strings(got)