1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/cmd/mavenBuild_generated_test.go

21 lines
359 B
Go
Raw Normal View History

//go:build unit
// +build unit
2020-03-13 14:32:37 +02:00
package cmd
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestMavenBuildCommand(t *testing.T) {
t.Parallel()
2020-03-13 14:32:37 +02:00
testCmd := MavenBuildCommand()
// only high level testing performed - details are tested in step generation procedure
2020-03-13 14:32:37 +02:00
assert.Equal(t, "mavenBuild", testCmd.Use, "command name incorrect")
}