client_golang/prometheus/testutil
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
..
promlint testutil/promlint: allow Kelvin as a base unit for color temperature 2020-05-28 11:54:54 -04:00
lint.go Improve various comments 2020-04-25 15:59:53 +02:00
lint_test.go Improve various comments 2020-04-25 15:59:53 +02:00
testutil.go smart diff to testutil.GatherAndCompare (#998) 2022-04-13 18:38:05 +01:00
testutil_test.go smart diff to testutil.GatherAndCompare (#998) 2022-04-13 18:38:05 +01:00