aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/brokenlinks_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-06-15 14:29:49 +0700
committerShulhan <ms@kilabit.info>2025-06-16 22:44:37 +0700
commitb4ef535afc6809c14137972d365732cea6b9f5b9 (patch)
treef14e05f4f02b0bff8883c297e1c257f224fd87fc /brokenlinks/brokenlinks_test.go
parentc814c790367dcd167dd0687318bd6dcc71299490 (diff)
downloadjarink-b4ef535afc6809c14137972d365732cea6b9f5b9.tar.xz
brokenlinks: move parsing scanned Url from worker to Options
Before the Options passed to worker, it should be valid, including the URL to be scanned.
Diffstat (limited to 'brokenlinks/brokenlinks_test.go')
-rw-r--r--brokenlinks/brokenlinks_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/brokenlinks/brokenlinks_test.go b/brokenlinks/brokenlinks_test.go
index 9b176b7..ff9b5d6 100644
--- a/brokenlinks/brokenlinks_test.go
+++ b/brokenlinks/brokenlinks_test.go
@@ -125,7 +125,7 @@ func TestBrokenlinks(t *testing.T) {
opts: brokenlinks.Options{
Url: `127.0.0.1:14594`,
},
- expError: `Scan: invalid URL "127.0.0.1:14594"`,
+ expError: `Scan: Options: invalid URL "127.0.0.1:14594"`,
}, {
opts: brokenlinks.Options{
Url: `http://127.0.0.1:14594`,