15 lines
208 B
Go
15 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)
|
||
|
}
|