jx/internal/resource/http_test.go

26 lines
412 B
Go
Raw Normal View History

// 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()
2024-04-05 17:22:17 +00:00
assert.NotNil(t, f)
}