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