From 0a69dacf0806644aa8b76671dbf8d6f08d5be0e2 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 21 Sep 2022 07:20:11 +0200 Subject: [PATCH] fix assert message --- x/gov/client/cli/prompt_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gov/client/cli/prompt_test.go b/x/gov/client/cli/prompt_test.go index cdf4b4249fd8..e5b01d7da37e 100644 --- a/x/gov/client/cli/prompt_test.go +++ b/x/gov/client/cli/prompt_test.go @@ -82,7 +82,7 @@ func TestPromptParseInteger(t *testing.T) { v, err := cli.Prompt(st{}, "") assert.Nil(t, err, "expected a nil error") - assert.Equal(t, tc.want, v.I, "expected a value of zero") + assert.Equal(t, tc.want, v.I, "expected %d = %d", tc.want, v.I) }) } }