mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-16 11:09:33 +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
354 B
Go
18 lines
354 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGctsCloneRepositoryCommand(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
testCmd := GctsCloneRepositoryCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "gctsCloneRepository", testCmd.Use, "command name incorrect")
|
|
|
|
}
|