Resolve merge conflicts: use importer package
This commit is contained in:
@@ -2,6 +2,9 @@ package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/steveyegge/beads/internal/importer"
|
||||
"github.com/steveyegge/beads/internal/utils"
|
||||
)
|
||||
|
||||
func TestIsNumeric(t *testing.T) {
|
||||
@@ -45,9 +48,9 @@ func TestExtractPrefix(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
result := extractPrefix(tt.input)
|
||||
result := utils.ExtractIssuePrefix(tt.input)
|
||||
if result != tt.expected {
|
||||
t.Errorf("extractPrefix(%q) = %q, want %q", tt.input, result, tt.expected)
|
||||
t.Errorf("ExtractIssuePrefix(%q) = %q, want %q", tt.input, result, tt.expected)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -59,7 +62,7 @@ func TestGetPrefixList(t *testing.T) {
|
||||
"test": 1,
|
||||
}
|
||||
|
||||
result := getPrefixList(prefixMap)
|
||||
result := importer.GetPrefixList(prefixMap)
|
||||
|
||||
// Should have 3 entries
|
||||
if len(result) != 3 {
|
||||
|
||||
Reference in New Issue
Block a user