From 2991838dead52784013d723bb3231259b7341f81 Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Wed, 5 Feb 2020 10:45:12 +0100 Subject: [PATCH] api/http/langos: fix TestHTTPMultipleRangeResponse test --- api/http/langos/http_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/langos/http_test.go b/api/http/langos/http_test.go index a06e988a60..90e5185134 100644 --- a/api/http/langos/http_test.go +++ b/api/http/langos/http_test.go @@ -115,7 +115,7 @@ func TestHTTPMultipleRangeResponse(t *testing.T) { for i := rand.Intn(5); i >= 0; i-- { var beginning int if l := len(ranges); l > 0 { - beginning = ranges[l-1][1] + beginning = ranges[l-1][1] + 1 } if beginning >= dataSize { break