mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 10:31:48 +00:00
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:
committed by
Justin M. Keyes
parent
713a957e9c
commit
ceade2fe53
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user