Skip to content

Fix #140 (improve error messages)#142

Merged
kevaundray merged 1 commit intonspcc-dev:masterfrom
im-kulikov:fix/improve-error-message-#140
Feb 20, 2019
Merged

Fix #140 (improve error messages)#142
kevaundray merged 1 commit intonspcc-dev:masterfrom
im-kulikov:fix/improve-error-message-#140

Conversation

@im-kulikov
Copy link
Copy Markdown
Contributor

- return errors like in C# code (neo-project/neo#587)
- update tests
- small refactoring
@im-kulikov
Copy link
Copy Markdown
Contributor Author

@decentralisedkev / @fabwa any thoughts?

Copy link
Copy Markdown
Contributor

@fyrchik fyrchik left a comment

Choose a reason for hiding this comment

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

I have noticed, that assert.Equal is used for comparing json's. assert.JSONEq seems more suitable here to me. Could you change it?

@im-kulikov
Copy link
Copy Markdown
Contributor Author

I have noticed, that assert.Equal is used for comparing json's. assert.JSONEq seems more suitable here to me. Could you change it?

I think it would be better to do it in a separate PR, don't you think?

@im-kulikov
Copy link
Copy Markdown
Contributor Author

I add issue for your proposal #155

@kevaundray kevaundray merged commit 20bb05b into nspcc-dev:master Feb 20, 2019
@im-kulikov im-kulikov deleted the fix/improve-error-message-#140 branch February 20, 2019 16:29
@hal0x2328 hal0x2328 added the I2 Regular impact label Feb 26, 2019
@hal0x2328
Copy link
Copy Markdown
Contributor

Award im-kulikov 150 points
Award fyrchik 30 points for review

@lllwvlvwlll
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

I2 Regular impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants