mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
d8d4f83fb4
* Fixes parallelization in generated code * Fixes test_code_generated.golden * generate go code Signed-off-by: Fabian Reh <fabian.reh@sap.com> Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com> Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
18 lines
330 B
Go
18 lines
330 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestNexusUploadCommand(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
testCmd := NexusUploadCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "nexusUpload", testCmd.Use, "command name incorrect")
|
|
|
|
}
|