databricks-cli/cmd/root/auth_test.go

15 lines
250 B
Go

package root
import (
"context"
"testing"
"github.com/stretchr/testify/assert"
)
func TestEmptyHttpRequest(t *testing.T) {
ctx, _ := context.WithCancel(context.Background())
req := emptyHttpRequest(ctx)
assert.Equal(t, req.Context(), ctx)
}