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

Remove deprecated must_equal(nil) syntax from tests #450

Merged
merged 1 commit into from
Apr 26, 2017

Conversation

george-carlin
Copy link
Contributor

When I run the tests on master with Minitest I get the following warning in a couple of places:

Use assert_nil if expecting nil from /Users/george/.rvm/gems/ruby-2.3.3/gems/minitest-5.10.1/lib/minitest/spec.rb:23:in `must_equal'. This will fail in MT6.

This PR updates the tests to remove the warnings.

.must_equal(nil) is deprecated
@apotonick apotonick merged commit 10df217 into trailblazer:master Apr 26, 2017
@george-carlin george-carlin deleted the assert-nil branch April 26, 2017 18:15
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