aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_assert.vim
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-08-07 17:53:43 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-08-12 22:35:24 +0100
commit7925f0b6330c18c9391d02f844cd17b41fbb3d2e (patch)
tree17519697c8de6e7a8c0154c9a16333c282f219da /src/nvim/testdir/test_assert.vim
parent5fbc1a49c719c0c93fa73277ac30d17f797d096d (diff)
downloadrneovim-7925f0b6330c18c9391d02f844cd17b41fbb3d2e.tar.gz
rneovim-7925f0b6330c18c9391d02f844cd17b41fbb3d2e.tar.bz2
rneovim-7925f0b6330c18c9391d02f844cd17b41fbb3d2e.zip
vim-patch:8.1.1909: more functions can be used as methods
Problem: More functions can be used as methods. Solution: Make a few more functions usable as a method. https://github.com/vim/vim/commit/e49fbff384e45dd17fed72321c26937edf6de16b
Diffstat (limited to 'src/nvim/testdir/test_assert.vim')
-rw-r--r--src/nvim/testdir/test_assert.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_assert.vim b/src/nvim/testdir/test_assert.vim
index 1d114221dc..52f243aaea 100644
--- a/src/nvim/testdir/test_assert.vim
+++ b/src/nvim/testdir/test_assert.vim
@@ -7,7 +7,7 @@ func Test_assert_equalfile()
let goodtext = ["one", "two", "three"]
call writefile(goodtext, 'Xone')
- call assert_equal(1, assert_equalfile('Xone', 'xyzxyz'))
+ call assert_equal(1, 'Xone'->assert_equalfile('xyzxyz'))
call assert_match("E485: Can't read file xyzxyz", v:errors[0])
call remove(v:errors, 0)