summaryrefslogtreecommitdiff
path: root/internal/links/fetch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/links/fetch_test.go')
-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)
+ }
+}