Skip to content

Commit 2af8741

Browse files
committed
fix test
1 parent d4f1133 commit 2af8741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

limiter_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ func TestLimitIP(t *testing.T) {
367367
name: "block-ipv6",
368368
requestsLimit: 1,
369369
windowLength: 2 * time.Second,
370-
reqIp: []string{"2001:DB8::21f:5bff:febf:ce22:1111", "2001:DB8::21f:5bff:febf:ce22:2222", "2002:DB8::21f:5bff:febf:ce22:1111"},
370+
reqIp: []string{"2001:DB8::21f:5bff:febf:ce22:1111", "2001:DB8::21f:5bff:febf:ce22:1111", "2002:DB8::21f:5bff:febf:ce22:1111"},
371371
respCodes: []int{200, 429, 200},
372372
},
373373
}

0 commit comments

Comments
 (0)