mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
fix: resolve compilation errors in web_test.go
This commit is contained in:
@@ -2,11 +2,15 @@ package cmd
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"net/url"
|
"strings"
|
||||||
"github.com/tnypxl/rollup/internal/config"
|
"github.com/tnypxl/rollup/internal/config"
|
||||||
"github.com/tnypxl/rollup/internal/scraper"
|
"github.com/tnypxl/rollup/internal/scraper"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
extractAndConvertContent func(string) (string, error)
|
||||||
|
)
|
||||||
|
|
||||||
func TestConvertPathOverrides(t *testing.T) {
|
func TestConvertPathOverrides(t *testing.T) {
|
||||||
configOverrides := []config.PathOverride{
|
configOverrides := []config.PathOverride{
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user