aboutsummaryrefslogtreecommitdiff
path: root/scope_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'scope_test.go')
-rw-r--r--scope_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope_test.go b/scope_test.go
index bccf93c..95366bb 100644
--- a/scope_test.go
+++ b/scope_test.go
@@ -19,7 +19,7 @@ type testScopeEntry struct {
func runScopeTest(t *testing.T, sc Scope, testdata []testScopeEntry) {
for _, td := range testdata {
uri := mustParseURL(td.uri)
- result := sc.Check(uri, td.depth)
+ result := sc.Check(Outlink{URL: uri, Tag: TagPrimary}, td.depth)
if result != td.expected {
t.Errorf("Check(%s, %d) -> got %v, want %v", td.uri, td.depth, result, td.expected)
}