-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add grains exercise #246
Add grains exercise #246
Conversation
Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>
@@ -0,0 +1,6 @@ | |||
class Grains | |||
@square: (number) -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are this "@" signs in front of the methods? To pass the tests I had to remove them in my solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the tests are not synchronized with this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you elaborate on the tests not being synchronized? configlet isn't seeing any missing.
./bin/configlet sync --tests -e grains
Updating cached 'problem-specifications' data...
Checking exercises...
The `grains` exercise has up-to-date tests!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are this "@" signs in front of the methods?
That signifies they are class methods so Grains.square()
and new Grains.square()
both work. I'll investigate further, but the example passed the CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened up #249 so we can iterate there.
Related to #236