mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-16 11:09:33 +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 TestImagePushToRegistryCommand(t *testing.T) {
|
||
|
t.Parallel()
|
||
|
|
||
|
testCmd := ImagePushToRegistryCommand()
|
||
|
|
||
|
// only high level testing performed - details are tested in step generation procedure
|
||
|
assert.Equal(t, "imagePushToRegistry", testCmd.Use, "command name incorrect")
|
||
|
|
||
|
}
|