-
-
Notifications
You must be signed in to change notification settings - Fork 648
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
Change some tests to use buttercup #1659
Conversation
Start fixing #1650 |
(should-error (cider-apropos "test") :type 'user-error))) | ||
(describe "cider-apropos" | ||
(it "raises user-error when cider is not connected." | ||
(expect (lambda () (cider-apropos "test")) :to-throw 'user-error)) |
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.
Is this lambda really necessary? Doesn't it work if you just write the code to be executed?
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 believe it is necessary for the to-throw
matcher. Otherwise the error is not handled and the tests fail with error: (user-error "nil needs an active nREPL connection")
.
You'll have to update the travis config to run the buttercup tests and the ert tests. Otherwise we can't make a staged migration to buttercup. |
Done. Have squashed everything into a single commit and rebased against the latest master. Also, should we mention the migration somewhere in the contributing guide, or somewhere else ? So that newer PR's would use buttercup instead of ert. |
I've changed some more files, but din't include them here because this PR has gotten big enough. Will submit follow up PR's. |
After the migration is ready we can add something about this in the docs. Hopefully the migration won't take long - we don't have many tests. |
Cool. Thanks for the effort and patience. :-) |
Thanks @Malabarba 🎉 |
[Fix #1659] Add fringe indicators for evaluated forms
Before submitting a PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
make test
)M-x checkdoc
warningsThanks!