提交 9369adb9 编写于 作者: S Stan Hu

Fix Style/NonNilCheck cop violations

上级 52aa21b1
RSpec::Matchers.define :be_valid_commit do
match do |actual|
actual != nil
!actual.nil?
actual.id == ValidCommit::ID
actual.message == ValidCommit::MESSAGE
actual.author_name == ValidCommit::AUTHOR_FULL_NAME
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册