summaryrefslogtreecommitdiff
path: root/internal/links
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-10 11:16:30 -0400
committerdemo <demo@antix1>2026-05-10 11:16:30 -0400
commitd4d5f28c889aca0654b52b8af5960ac274af828e (patch)
treebe25cb8b4604c38bdc420f8c4cdc41c84d6a9139 /internal/links
parent5b80104c836a97e09348dc1bca963daa7f36ae4f (diff)
test: ensure fetching works
Diffstat (limited to 'internal/links')
-rw-r--r--internal/links/fetch_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/links/fetch_test.go b/internal/links/fetch_test.go
new file mode 100644
index 0000000..5d873a6
--- /dev/null
+++ b/internal/links/fetch_test.go
@@ -0,0 +1,10 @@
+package links
+
+import "testing"
+
+func TestFetch(t *testing.T) {
+ _, err := fetch("http://example.com", 2)
+ if err != nil {
+ t.Error(err)
+ }
+}