Mercurial > vim
view src/testdir/if_ver-1.vim @ 12779:73eb8a2d7f04 v8.0.1267
patch 8.0.1267: Test_swap_group may leave file behind
commit https://github.com/vim/vim/commit/5842a748be8039fd6d267f5557fe391c6c95399d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 4 22:36:53 2017 +0100
patch 8.0.1267: Test_swap_group may leave file behind
Problem: Test_swap_group may leave file behind.
Solution: Add a try/finally.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 04 Nov 2017 22:45:06 +0100 |
parents | 94e37fd22556 |
children |
line wrap: on
line source
" Print all interface versions and write the result into if_ver.txt. " For Ubuntu. Part 1. redir! > if_ver.txt if 1 echo "*** Interface versions ***" echo "\nLua:" lua print(_VERSION) " echo "\nLuaJIT:" " lua print(jit.version) if has('mzscheme') echo "\nMzScheme:" mzscheme (display (version)) endif echo "\nPerl:" perl print $^V echo "\nRuby:" ruby print RUBY_VERSION if has('tcl') echo "\nTcl:" tcl puts [info patchlevel] endif echo "\nPython 2:" python import sys; print sys.version endif redir END