From 4df2e5ae76d473d0eafe22c619ea8fee931f957a Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Thu, 26 Oct 2023 15:17:12 +0200 Subject: [PATCH] Update types/latest_valset_test.go Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com> --- types/latest_valset_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/latest_valset_test.go b/types/latest_valset_test.go index c976de29..7d8a4094 100644 --- a/types/latest_valset_test.go +++ b/types/latest_valset_test.go @@ -30,7 +30,7 @@ func TestMarshalValset(t *testing.T) { jsonData, err := types.MarshalValset(valset) assert.NoError(t, err) expectedJSON := `{"nonce":10,"members":[{"power":100,"evm_address":"evm_addr1"},{"power":200,"evm_address":"evm_addr2"}],"height":5,"time":"1970-01-01T01:00:00.00001+01:00"}` - assert.Equal(t, string(jsonData), expectedJSON) + assert.Equal(t, expectedJSON, string(jsonData)) } func TestUnmarshalValset(t *testing.T) {