client_golang/prometheus/internal
Sourik Ghosh cd90f33be8
smart diff to testutil.GatherAndCompare (#998)
* added smart diff to testutil.GatherAndCompare

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>

* v2 testuitls added for better diff

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>

* replaced CollectAndCompare to CollectAndCompareV2 in testutil_test

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>

* renamed methods from v2 to withT

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>

* replaced testify with custom diff func

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>

* difflib GetUnifiedDiffString added with test

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>

* license meta data added to file

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>

* moved difflib to internal

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>
2022-04-13 18:38:05 +01:00
..
difflib.go smart diff to testutil.GatherAndCompare (#998) 2022-04-13 18:38:05 +01:00
difflib_test.go smart diff to testutil.GatherAndCompare (#998) 2022-04-13 18:38:05 +01:00
go_runtime_metrics.go Reduce granularity of histogram buckets for Go 1.17 collector (#974) 2022-01-28 05:46:45 +01:00
go_runtime_metrics_test.go Use the runtime/metrics package for the Go collector for 1.17+ (#955) 2022-01-16 16:41:56 +00:00
metric.go Added Transactional Gatherer allowed cached solutions (#989) 2022-02-23 11:22:52 +00:00