VictoriaMetrics/lib/httputils
Aliaksandr Valialkin 9edeecabc8
lib: consistently use f-tests instead of table-driven tests
This makes easier to read and debug these tests. This also reduces test lines count by 15% from 3K to 2.5K .
See https://itnext.io/f-tests-as-a-replacement-for-table-driven-tests-in-go-8814a8b19e9e .

While at it, consistently use t.Fatal* instead of t.Error*, since t.Error* usually leads
to more complicated and fragile tests, while it doesn't bring any practical benefits over t.Fatal*.
2024-07-09 22:39:13 +02:00
..
array.go app/victoria-logs: add ability to debug data ingestion by passing debug query arg to data ingestion API 2023-07-06 21:19:58 -07:00
bool.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-07-06 17:22:23 -07:00
duration.go docs/CHANGELOG.md: document f8207e33a2 2024-02-17 17:55:01 +02:00
duration_test.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-07-06 17:22:23 -07:00
int.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-07-06 17:22:23 -07:00
statconn.go app/vmalert: support DNS SRV record in -remoteWrite.url (#6299) 2024-05-22 10:53:22 +02:00
statconn_test.go app/vmalert: support DNS SRV record in -remoteWrite.url (#6299) 2024-05-22 10:53:22 +02:00
time.go lib/promutils: hide the math.Round() logic inside ParseTimeMsec() function 2024-02-23 01:21:42 +02:00
time_test.go [lib/httputils] fixed floating-point error when parsing time in RFC3339 format (#5814) 2024-02-23 00:58:26 +02:00
tls.go lib/httputils: rename CAFile -> caFile in order to be consistent with local var naming in Go 2024-03-17 23:31:53 +02:00
tls_test.go lib: consistently use f-tests instead of table-driven tests 2024-07-09 22:39:13 +02:00