From 2c64f01674d110063d79c77b0246abcc8a6f4ca3 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 24 Feb 2018 21:35:28 +0100 Subject: vim-patch:8.0.0708: some tests are old style Problem: Some tests are old style. Solution: Change a few tests from old style to new style. (pschuh, closes vim/vim#1813) https://github.com/vim/vim/commit/292eff0c5aacb8531d65509679b6c29eae8dc22a --- src/nvim/testdir/test_comparators.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/nvim/testdir/test_comparators.vim (limited to 'src/nvim/testdir/test_comparators.vim') diff --git a/src/nvim/testdir/test_comparators.vim b/src/nvim/testdir/test_comparators.vim new file mode 100644 index 0000000000..87be006cf2 --- /dev/null +++ b/src/nvim/testdir/test_comparators.vim @@ -0,0 +1,9 @@ +function Test_Comparators() + try + let oldisident=&isident + set isident+=# + call assert_equal(1, 1 is#1) + finally + let &isident=oldisident + endtry +endfunction -- cgit