VictoriaMetrics/lib/httputils
Aliaksandr Valialkin a9525da8a4
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:40:50 +02:00
..
array.go app/victoria-logs: add ability to debug data ingestion by passing debug query arg to data ingestion API 2023-06-20 20:02:46 -07:00
bool.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-06-19 22:34:20 -07:00
duration.go docs/CHANGELOG.md: document f8207e33a2 2024-02-17 17:52:53 +02:00
duration_test.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-06-19 22:34:20 -07:00
int.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-06-19 22:34:20 -07:00
statconn.go app/vmalert: support DNS SRV record in -remoteWrite.url (#6299) 2024-05-22 10:52:51 +02:00
statconn_test.go app/vmalert: support DNS SRV record in -remoteWrite.url (#6299) 2024-05-22 10:52:51 +02:00
time.go lib/promutils: hide the math.Round() logic inside ParseTimeMsec() function 2024-02-23 00:55:32 +02:00
time_test.go [lib/httputils] fixed floating-point error when parsing time in RFC3339 format (#5814) 2024-02-22 10:20:54 +01:00
tls.go lib/httputils: rename CAFile -> caFile in order to be consistent with local var naming in Go 2024-03-17 23:19:52 +02:00
tls_test.go lib: consistently use f-tests instead of table-driven tests 2024-07-09 22:40:50 +02:00