open-consul/agent/consul/autopilot
Daniel Nephin e8a883e829
Replace goe/verify.Values with testify/require.Equal (#7993)
* testing: replace most goe/verify.Values with require.Equal

One difference between these two comparisons is that go/verify considers
nil slices/maps to be equal to empty slices/maps, where as testify/require
does not, and does not appear to provide any way to enable that behaviour.

Because of this difference some expected values were changed from empty
slices to nil slices, and some calls to verify.Values were left.

* Remove github.com/pascaldekloe/goe/verify

Reduce the number of assertion packages we use from 2 to 1
2020-06-02 12:41:25 -04:00
..
autopilot.go Remove unused var 2020-05-19 16:50:14 -04:00
autopilot_test.go autopilot: fix dead server removal condition to use correct failure tolerance (#4017) 2019-12-16 23:35:13 +01:00
promotion.go Expose IsPotentialVoter for advanced autopilot logic 2017-12-13 17:53:51 -08:00
promotion_test.go Replace goe/verify.Values with testify/require.Equal (#7993) 2020-06-02 12:41:25 -04:00
structs.go Set MinQuorum variable in Autopilot (#6654) 2019-10-29 09:04:41 -05:00
structs_test.go