Mercurial > vim
diff src/testdir/test_assert.vim @ 10593:553f9b9502bc v8.0.0186
patch 8.0.0186: confusing error message from assert_notequal()
commit https://github.com/vim/vim/commit/5869cf060e60cc09e71b2b3bd85f0576ec78f9f5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 14 20:06:14 2017 +0100
patch 8.0.0186: confusing error message from assert_notequal()
Problem: The error message from assert_notequal() is confusing.
Solution: Only mention the expected value.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Jan 2017 20:15:04 +0100 |
parents | 0d345265b1e2 |
children | 8ba322dad776 |
line wrap: on
line diff
--- a/src/testdir/test_assert.vim +++ b/src/testdir/test_assert.vim @@ -32,7 +32,7 @@ func Test_assert_notequal() call assert_notequal([1, 2, 3], s) call assert_notequal('foo', s) - call assert_match("Expected 'foo' differs from 'foo'", v:errors[0]) + call assert_match("Expected not equal to 'foo'", v:errors[0]) call remove(v:errors, 0) endfunc