github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/internal/httputil/get_test.go (about)

     1  package httputil
     2  
     3  import (
     4  	"path/filepath"
     5  	"testing"
     6  
     7  	"github.com/stretchr/testify/assert"
     8  )
     9  
    10  func TestGet(t *testing.T) {
    11  	_, err := Get(filepath.Join("download", "file1"))
    12  	assert.NoError(t, err, "Should download file")
    13  }