diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-30 18:14:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-30 18:14:57 +0200 |
commit | 041c7107f23d3b49ab62c1d7e36af90421db8b63 (patch) | |
tree | f21e0e6114da8949c9d91f727d8df2e0754ce064 /src/testdir/test_functions.vim | |
parent | 06b7b58455f9c09be3d1c36d174ffbfdf4efcd79 (diff) | |
download | vim-git-041c7107f23d3b49ab62c1d7e36af90421db8b63.tar.gz |
patch 8.2.0849: BeOS code is not maintained and probably unusedv8.2.0849
Problem: BeOS code is not maintained and probably unused.
Solution: Remove the BeOS code. (Emir Sari, closes #5817)
Diffstat (limited to 'src/testdir/test_functions.vim')
-rw-r--r-- | src/testdir/test_functions.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim index d342e513f..e5c74e02e 100644 --- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -1766,11 +1766,10 @@ endfunc func Test_platform_name() " The system matches at most only one name. - let names = ['amiga', 'beos', 'bsd', 'hpux', 'linux', 'mac', 'qnx', 'sun', 'vms', 'win32', 'win32unix'] + let names = ['amiga', 'bsd', 'hpux', 'linux', 'mac', 'qnx', 'sun', 'vms', 'win32', 'win32unix'] call assert_inrange(0, 1, len(filter(copy(names), 'has(v:val)'))) " Is Unix? - call assert_equal(has('beos'), has('beos') && has('unix')) call assert_equal(has('bsd'), has('bsd') && has('unix')) call assert_equal(has('hpux'), has('hpux') && has('unix')) call assert_equal(has('linux'), has('linux') && has('unix')) @@ -1782,7 +1781,6 @@ func Test_platform_name() if has('unix') && executable('uname') let uname = system('uname') - call assert_equal(uname =~? 'BeOS', has('beos')) " GNU userland on BSD kernels (e.g., GNU/kFreeBSD) don't have BSD defined call assert_equal(uname =~? '\%(GNU/k\w\+\)\@<!BSD\|DragonFly', has('bsd')) call assert_equal(uname =~? 'HP-UX', has('hpux')) |