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

Alternate operator #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rodrigomanhaes
Copy link
Member

Implementation for an alternate operator to be used when the actual object overrides or.

@hltbra
Copy link
Contributor

hltbra commented Jul 9, 2011

We would still have problems if the user overrides / operator and tools like Ludibrio wouldnt work well with should-dsl.

I am thinking about an alternative for it. And what pops in my mind is something like:

shouldify(obj).should(equal_to=another_obj)

or

obj_ = shouldify(obj)
obj_.should(equal_to=another_obj)

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