VictoriaMetrics/lib/snapshot
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
..
snapshotutil lib: consistently use f-tests instead of table-driven tests 2024-07-09 22:40:50 +02:00
snapshot.go Revert "app/vmbackup: introduce new flag type URL (#6152)" 2024-04-24 13:47:57 +02:00
snapshot_test.go lib/snapshot: move Time, Validate and NewName into lib/snapshot/snapshotutil package 2024-02-09 04:18:45 +02:00