From 1641eb5bdedf86ea0d77f394d0ae62c66c1f4078 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Fri, 16 Feb 2024 09:06:47 -0500 Subject: [PATCH] Unit test commit query params --- http/query_params_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/http/query_params_test.go b/http/query_params_test.go index 7883ee0d..bfb0bfb7 100644 --- a/http/query_params_test.go +++ b/http/query_params_test.go @@ -33,6 +33,7 @@ func Test_NewQueryParams(t *testing.T) { {"Invalid URL Encoding", "invalid=%ZZ", nil, true}, {"freshness_strict", "&freshness=5s&freshness_strict", QueryParams{"freshness_strict": "", "freshness": "5s"}, false}, {"freshness_strict requires freshness", "freshness_strict", nil, true}, + {"commit with timeout", "commit&timeout=2s", QueryParams{"commit": "", "timeout": "2s"}, false}, } for _, tc := range testCases {