9872cfaa50
- Includes refactoring of existing packages to enable testing of commands
14 lines
208 B
Go
14 lines
208 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
func TestCliContext(t *testing.T) {
|
|
result := CliContext()
|
|
|
|
assert.IsType(t, new(cli.Context), result)
|
|
}
|