mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-13 06:23:18 +00:00
test: add debugging info and fix reflect import
This commit is contained in:
@@ -119,7 +119,9 @@ func TestRunRollup(t *testing.T) {
|
||||
t.Fatalf("Failed to glob output files: %v", err)
|
||||
}
|
||||
if len(outputFiles) != 1 {
|
||||
t.Fatalf("Expected 1 output file, got %d", len(outputFiles))
|
||||
// List all files in the temp directory for debugging
|
||||
files, _ := filepath.Glob(filepath.Join(tempDir, "*"))
|
||||
t.Fatalf("Expected 1 output file, got %d. Files in directory: %v", len(outputFiles), files)
|
||||
}
|
||||
|
||||
// Read the content of the output file
|
||||
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"strings"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
func TestIsAllowedURL(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user