fix: correct import path and update Config struct usage in test

This commit is contained in:
Arik Jones (aider)
2024-09-19 16:23:01 -05:00
parent c7791814c9
commit 3c22d8034d

View File

@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/yourusername/yourproject/internal/config" "github.com/tnypxl/rollup/internal/config"
) )
func TestMatchGlob(t *testing.T) { func TestMatchGlob(t *testing.T) {
@@ -100,9 +100,10 @@ func TestRunRollup(t *testing.T) {
} }
// Set up test configuration // Set up test configuration
cfg = &Config{ cfg = &config.Config{
FileTypes: []string{"go", "txt"}, FileTypes: []string{"go", "txt"},
Ignore: []string{"*.json"}, Ignore: []string{"*.json"},
CodeGenerated: []string{},
} }
path = tempDir path = tempDir