1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/cmd/detectExecuteScan_generated_test.go
Fabian Reh d8d4f83fb4
Unit test enhancement (#2471)
* 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>
2020-12-22 09:30:54 +01:00

18 lines
348 B
Go

package cmd
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestDetectExecuteScanCommand(t *testing.T) {
t.Parallel()
testCmd := DetectExecuteScanCommand()
// only high level testing performed - details are tested in step generation procedure
assert.Equal(t, "detectExecuteScan", testCmd.Use, "command name incorrect")
}