mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
21 lines
386 B
Go
21 lines
386 B
Go
|
//go:build unit
|
||
|
// +build unit
|
||
|
|
||
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestContrastExecuteScanCommand(t *testing.T) {
|
||
|
t.Parallel()
|
||
|
|
||
|
testCmd := ContrastExecuteScanCommand()
|
||
|
|
||
|
// only high level testing performed - details are tested in step generation procedure
|
||
|
assert.Equal(t, "contrastExecuteScan", testCmd.Use, "command name incorrect")
|
||
|
|
||
|
}
|