Ver Fonte

Fix test failures with older Vim versions

Yegappan Lakshmanan há 4 anos atrás
pai
commit
cdc974db0b
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      test/unit_tests.vim

+ 3 - 0
test/unit_tests.vim

@@ -1502,6 +1502,9 @@ endfunc
 " MRU command.
 " ==========================================================================
 func Test_53()
+  if v:version < 800
+    return
+  endif
   let test_name = 'test53'
   %bw!
   topleft MRU file2.txt