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

Implemented various things #8

Merged
merged 6 commits into from
Oct 1, 2012
Merged

Implemented various things #8

merged 6 commits into from
Oct 1, 2012

Conversation

leavengood
Copy link
Contributor

Hello,

I've been learning Io and used jasmineio as a nice project to work on. I fixed some bugs I found in the toBeString matcher, made toHaveSlot work in what I think is the more "Io way" and I also implemented most of issue #3. I also did some whitespace cleanup, made a small spelling fix, and added myself to contributors.

Maybe toHaveOwnSlot could be added for the older behavior.
This fixes several edge cases when comparing strings which previously
caused errors.

Also added specs to test this new method.

The existing spec for toBeString was also incorrect, the differing index
is 8 not 9.
Added new methods toThrowWithMessage and toThrowWithType which are
automatically called from toThrow based on the type of the expected
parameter. They could also be called explicitly.

Add associated specs as well.
torgeir added a commit that referenced this pull request Oct 1, 2012
Implemented various things
@torgeir torgeir merged commit a42f8ea into bekkopen:master Oct 1, 2012
@torgeir
Copy link
Contributor

torgeir commented Oct 1, 2012

Alright! I'm glad you found it interesting. Contribution well done!

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