Browse Source

Fix test failures with older Vim versions

Yegappan Lakshmanan 4 years ago
parent
commit
cdc974db0b
1 changed files with 3 additions and 0 deletions
  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