fix: add missing imports and correct Config reference in files_test.go

This commit is contained in:
Arik Jones (aider)
2024-09-19 16:21:11 -05:00
parent e184cef444
commit c7791814c9

View File

@@ -3,7 +3,10 @@ package cmd
import (
"os"
"path/filepath"
"strings"
"testing"
"github.com/yourusername/yourproject/internal/config"
)
func TestMatchGlob(t *testing.T) {
@@ -97,7 +100,7 @@ func TestRunRollup(t *testing.T) {
}
// Set up test configuration
cfg = &config.Config{
cfg = &Config{
FileTypes: []string{"go", "txt"},
Ignore: []string{"*.json"},
}