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

Improve single test #44

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Improve single test #44

wants to merge 4 commits into from

Conversation

20k-ultra
Copy link

@20k-ultra 20k-ultra commented May 21, 2020

I created this PR to improve on a test case that should have been added in PR #41.

I built this on top of another PR #43. If I cannot easily cleanup the commit history after that gets merged i'll just delete this branch and create another from master. This will remain a draft until then.

thgreasi and others added 4 commits May 20, 2020 14:01
Didn't convert the source, so that we don't end up
having conflicts with other ongoing PRs.

Change-type: patch
Change-type: patch
Signed-off-by: Miguel Casqueira <[email protected]>
Change-type: patch
Signed-off-by: Miguel Casqueira <[email protected]>
Comment on lines +106 to +107
constructor: (message = 'Error with API request', @response) ->
super(@message)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
constructor: (message = 'Error with API request', @response) ->
super(@message)
constructor: (message = 'Error with API request', @response) ->
super(message)
@message = message

That's the simplest way to get this emit a valid build result, otherwise we can't pass @message to super(), since this is undefined at that point.

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.

3 participants