Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: x/gov/client/cli: update & tighten Prompt.Parse tests #13350

Merged
merged 3 commits into from
Sep 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix assert message
  • Loading branch information
julienrbrt authored Sep 21, 2022
commit 0a69dacf0806644aa8b76671dbf8d6f08d5be0e2
2 changes: 1 addition & 1 deletion x/gov/client/cli/prompt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}
}