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

ready-for-review: Gov modules enums marshalJSON to String #1627

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

sunnya97
Copy link
Member

@sunnya97 sunnya97 commented Jul 11, 2018

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG.md
  • Updated Gaia/Examples
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)
  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)

@ebuchman ebuchman changed the base branch from develop to master July 11, 2018 03:31
@codecov
Copy link

codecov bot commented Jul 12, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@c6827df). Click here to learn what that means.
The diff coverage is 22.53%.

@@            Coverage Diff            @@
##             master    #1627   +/-   ##
=========================================
  Coverage          ?   63.52%           
=========================================
  Files             ?      122           
  Lines             ?     6804           
  Branches          ?        0           
=========================================
  Hits              ?     4322           
  Misses            ?     2235           
  Partials          ?      247

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny suggestion, otherwise LGTM.

@@ -443,7 +443,7 @@ func TestSubmitProposal(t *testing.T) {

// query proposal
proposal := getProposal(t, port, proposalID)
require.Equal(t, "Test", proposal.Title)
require.Equal(t, "Test", proposal.GetTitle())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to check the string or check that the enum is correct? If you check the latter, the string format can change later without breaking these tests.

@cwgoes cwgoes merged commit 432c109 into master Jul 12, 2018
@cwgoes cwgoes deleted the sunny/govMarshaling branch July 12, 2018 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants