mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
17 lines
328 B
Go
17 lines
328 B
Go
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestHadolintExecuteCommand(t *testing.T) {
|
||
|
|
||
|
testCmd := HadolintExecuteCommand()
|
||
|
|
||
|
// only high level testing performed - details are tested in step generation procedure
|
||
|
assert.Equal(t, "hadolintExecute", testCmd.Use, "command name incorrect")
|
||
|
|
||
|
}
|