From 753359a63a872d61a5cdb2f517e3a151d890ad34 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 17 Dec 2017 20:26:30 -0200 Subject: [PATCH] test: removed useless test --- pipeline/build/build_test.go | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/pipeline/build/build_test.go b/pipeline/build/build_test.go index 753d4c7a9..38d6afd55 100644 --- a/pipeline/build/build_test.go +++ b/pipeline/build/build_test.go @@ -80,32 +80,6 @@ func TestRunFullPipe(t *testing.T) { assert.True(t, exists(post), post) } -// TODO: this test is not irrelevant and could probably be removed -func TestRunPipeFormatBinary(t *testing.T) { - folder, back := testlib.Mktmp(t) - defer back() - writeGoodMain(t, folder) - var binary = filepath.Join(folder, buildtarget.Runtime.String(), "testing") - var config = config.Project{ - ProjectName: "testing", - Dist: folder, - Builds: []config.Build{ - { - Binary: "testing", - Goos: []string{ - runtime.GOOS, - }, - Goarch: []string{ - runtime.GOARCH, - }, - }, - }, - } - ctx := context.New(config) - assert.NoError(t, Pipe{}.Run(ctx)) - assert.True(t, exists(binary), "file %s does not exist", binary) -} - func TestRunPipeArmBuilds(t *testing.T) { folder, back := testlib.Mktmp(t) defer back()