summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-01-19 20:28:16 +0200
committerPaul Buetow <paul@buetow.org>2025-01-19 20:28:16 +0200
commite97a3d094c1ed4e21d05d4d34e8ea3595b9cc461 (patch)
treea59cacddc27565a93df9df496c55c13f78424008 /internal
parent96e1865a1a629c93fa175f4a1c1d7674ab76ac00 (diff)
cleanup temp testing stuff
Diffstat (limited to 'internal')
-rw-r--r--internal/summary/summary.go3
-rw-r--r--internal/summary/summary_test.go1
2 files changed, 0 insertions, 4 deletions
diff --git a/internal/summary/summary.go b/internal/summary/summary.go
index 4ace908..f943754 100644
--- a/internal/summary/summary.go
+++ b/internal/summary/summary.go
@@ -8,7 +8,6 @@ import (
"regexp"
"sort"
"strings"
- "testing"
"codeberg.org/snonux/gos/internal/config"
"codeberg.org/snonux/gos/internal/entry"
@@ -150,8 +149,6 @@ func prepare(content string) string {
return content
}
-var T *testing.T
-
func gemtextLink(geminiCapsules []string, url string, maxLen int) string {
url = strings.TrimSpace(url)
var (
diff --git a/internal/summary/summary_test.go b/internal/summary/summary_test.go
index 4846878..95bca74 100644
--- a/internal/summary/summary_test.go
+++ b/internal/summary/summary_test.go
@@ -3,7 +3,6 @@ package summary
import "testing"
func TestGemtextLink(t *testing.T) {
- T = t
geminiCapsules := []string{"foo.zone"}
table := map[string]string{