VictoriaMetrics/lib/protoparser/graphite
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
..
stream lib: consistently use f-tests instead of table-driven tests 2024-07-09 22:39:13 +02:00
parser.go lib/protoparser/graphite: added -graphite.sanitizeMetricName flag (#6489) 2024-07-02 17:16:00 +02:00
parser_test.go lib/protoparser/graphite: added -graphite.sanitizeMetricName flag (#6489) 2024-07-02 17:16:00 +02:00
parser_timing_test.go app/vminsert: move ingestion protocol parsers to lib/protoparser, so they could be re-used in the upcoming vmagent 2020-01-24 16:55:18 +02:00