Skip to content

Commit 7161612

Browse files
committed
fixup! Make functional option functions return a function
1 parent c2a3f79 commit 7161612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

traverse_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ var tests = []networkTest{
227227
"2002:101:110::/44",
228228
"2002:101:120::/48",
229229
},
230-
Options: []NetworksOption{IncludeAliasedNetworks},
230+
Options: []NetworksOption{IncludeAliasedNetworks()},
231231
},
232232
{
233233
Network: "::/0",
@@ -281,7 +281,7 @@ var tests = []networkTest{
281281
"1.64.0.0/10",
282282
"1.128.0.0/9",
283283
},
284-
Options: []NetworksOption{IncludeNetworksWithoutData},
284+
Options: []NetworksOption{IncludeNetworksWithoutData()},
285285
},
286286
{
287287
Network: "1.1.1.16/28",

0 commit comments

Comments
 (0)