diff options
author | KunMing Xie <qqzz014@gmail.com> | 2017-09-10 18:52:43 +0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-09-10 12:52:43 +0200 |
commit | ceade2fe53175555c44fdc4b65530f18aeb17591 (patch) | |
tree | 57aa743ee0a05c9cc4deeee284a96c23c85bb6b0 /test/functional/legacy/assert_spec.lua | |
parent | 713a957e9c90fc1c57935e33346347807595f946 (diff) | |
download | rneovim-ceade2fe53175555c44fdc4b65530f18aeb17591.tar.gz rneovim-ceade2fe53175555c44fdc4b65530f18aeb17591.tar.bz2 rneovim-ceade2fe53175555c44fdc4b65530f18aeb17591.zip |
vim-patch:8.0.0186 (#7154)
Problem: The error message from assert_notequal() is confusing.
Solution: Only mention the expected value.
https://github.com/vim/vim/commit/5869cf060e60cc09e71b2b3bd85f0576ec78f9f5
Diffstat (limited to 'test/functional/legacy/assert_spec.lua')
-rw-r--r-- | test/functional/legacy/assert_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/assert_spec.lua b/test/functional/legacy/assert_spec.lua index d646e8dbf4..381461dc4f 100644 --- a/test/functional/legacy/assert_spec.lua +++ b/test/functional/legacy/assert_spec.lua @@ -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) |