Skip to content

Conversation

@kylef
Copy link
Owner

@kylef kylef commented Dec 27, 2017

This allows you to run expectations such as:

try expect(...).to.not.beNil()

This allows you to run expectations such as:

    try expect(...).to.not.beNil()
@kylef kylef mentioned this pull request Dec 27, 2017
@ilyapuchka
Copy link

@kylef here I implemented my version of this that gives a bit better code completion options.
With my implementation it's only possible to use to or to.not after expect(...) and then returned objects have their own sets of conditions. So that things like expect(...).beNil, expect(...).to.to or expect(...).to.not.to.to are not possible.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants