diff options
| author | Shulhan <ms@kilabit.info> | 2025-06-15 14:29:49 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-06-16 22:44:37 +0700 |
| commit | b4ef535afc6809c14137972d365732cea6b9f5b9 (patch) | |
| tree | f14e05f4f02b0bff8883c297e1c257f224fd87fc /brokenlinks/brokenlinks_test.go | |
| parent | c814c790367dcd167dd0687318bd6dcc71299490 (diff) | |
| download | jarink-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.go | 2 |
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`, |
