vim-patch:8.0.0186 (#7154)

Problem:    The error message from assert_notequal() is confusing.
Solution:   Only mention the expected value.

5869cf060e
This commit is contained in:
KunMing Xie
2017-09-10 18:52:43 +08:00
committed by Justin M. Keyes
parent 713a957e9c
commit ceade2fe53
3 changed files with 15 additions and 13 deletions

View File

@@ -89,7 +89,7 @@ describe('assert function:', function()
it('should change v:errors when expected is equal to actual', function()
call('assert_notequal', 'foo', 'foo')
expected_errors({"Expected 'foo' differs from 'foo'"})
expected_errors({"Expected not equal to 'foo'"})
end)
end)