From c50ac609f43b5e156bacfadbdba6cc7b8add0271 Mon Sep 17 00:00:00 2001 From: asoliman Date: Thu, 19 Dec 2024 15:15:32 +0200 Subject: [PATCH] fix test --- commit/chainfee/observation_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commit/chainfee/observation_test.go b/commit/chainfee/observation_test.go index aeae658e..07b98bf4 100644 --- a/commit/chainfee/observation_test.go +++ b/commit/chainfee/observation_test.go @@ -160,11 +160,11 @@ func Test_processor_Observation(t *testing.T) { require.GreaterOrEqual(t, obs.TimestampNow.UnixNano(), tStart.UnixNano()) require.LessOrEqual(t, obs.TimestampNow.UnixNano(), tEnd.UnixNano()) require.Equal(t, tc.chainFeeComponents, obs.FeeComponents) - require.Equal(t, maps.Keys(tc.chainFeeComponents), slicesWithoutDst) + require.Equal(t, slicesWithoutDst, maps.Keys(obs.FeeComponents)) require.Equal(t, tc.nativeTokenPrices, obs.NativeTokenPrices) - require.Equal(t, maps.Keys(tc.nativeTokenPrices), slicesWithoutDst) + require.Equal(t, slicesWithoutDst, maps.Keys(obs.NativeTokenPrices)) require.Equal(t, tc.expectedChainFeePriceUpdates, obs.ChainFeeUpdates) - require.Equal(t, maps.Keys(tc.expectedChainFeePriceUpdates), slicesWithoutDst) + require.Equal(t, slicesWithoutDst, maps.Keys(obs.ChainFeeUpdates)) require.Equal(t, tc.fChain, obs.FChain) }) }