jx/internal/resource/http_test.go
Matthew Rich c4b7819713
Some checks failed
Lint / golangci-lint (push) Failing after 10m4s
Declarative Tests / test (push) Successful in 1m14s
add command helper
2024-04-05 10:22:17 -07:00

26 lines
412 B
Go

// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
package resource
import (
_ "context"
_ "encoding/json"
_ "fmt"
"github.com/stretchr/testify/assert"
_ "gopkg.in/yaml.v3"
_ "io"
_ "log"
_ "net/http"
_ "net/http/httptest"
_ "net/url"
_ "os"
_ "path/filepath"
_ "strings"
"testing"
)
func TestNewHTTPResource(t *testing.T) {
f := NewHTTP()
assert.NotNil(t, f)
}