提交 d76ed9e4 编写于 作者: B Boris Slobodin

fix typo in assert_changes error message

上级 0f245882
......@@ -157,7 +157,7 @@ def assert_changes(expression, message = nil, from: UNTRACKED, to: UNTRACKED, &b
after = exp.call
if to == UNTRACKED
error = "#{expression.inspect} didn't changed"
error = "#{expression.inspect} didn't change"
error = "#{message}.\n#{error}" if message
assert_not_equal before, after, error
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册