Mercurial > vim
comparison src/testdir/test_shortpathname.vim @ 17663:403ac78df9a0 v8.1.1829
patch 8.1.1829: difference in screenshots
commit https://github.com/vim/vim/commit/39de6413c8b7bae882bed3dba636f6d52d793087
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 8 21:52:39 2019 +0200
patch 8.1.1829: difference in screenshots
Problem: Difference in screenshots.
Solution: Update screenshots. Change checks in a few more tests.
(closes #4789)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 08 Aug 2019 22:00:05 +0200 |
parents | 8e9e9124c7a2 |
children | cbea1392c393 |
comparison
equal
deleted
inserted
replaced
17662:0e3981c7a505 | 17663:403ac78df9a0 |
---|---|
1 " Test for shortpathname ':8' extension. | 1 " Test for shortpathname ':8' extension. |
2 " Only for use on Win32 systems! | 2 " Only for use on Win32 systems! |
3 | 3 |
4 if !has('win32') | 4 source check.vim |
5 throw 'Skipped: not on MS-Windows' | 5 CheckMSWindows |
6 endif | |
7 | 6 |
8 func TestIt(file, bits, expected) | 7 func TestIt(file, bits, expected) |
9 let res = fnamemodify(a:file, a:bits) | 8 let res = fnamemodify(a:file, a:bits) |
10 if a:expected != '' | 9 if a:expected != '' |
11 call assert_equal(substitute(a:expected, '/', '\\', 'g'), | 10 call assert_equal(substitute(a:expected, '/', '\\', 'g'), |