aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-07 06:19:39 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-02-07 06:30:11 +0800
commitd8e191a6ab93aeebdeabcdf3711b2e635cbed7d2 (patch)
treeb444d335e812fdde6aae160566f2f96b8ac517b2
parent893fad2851bd4a10836f2666a512a3cbceaadc05 (diff)
downloadrneovim-d8e191a6ab93aeebdeabcdf3711b2e635cbed7d2.tar.gz
rneovim-d8e191a6ab93aeebdeabcdf3711b2e635cbed7d2.tar.bz2
rneovim-d8e191a6ab93aeebdeabcdf3711b2e635cbed7d2.zip
vim-patch:8.2.0849: BeOS code is not maintained and probably unused
Problem: BeOS code is not maintained and probably unused. Solution: Remove the BeOS code. (Emir Sari, closes vim/vim#5817) https://github.com/vim/vim/commit/041c7107f23d3b49ab62c1d7e36af90421db8b63 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--test/old/testdir/test_functions.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim
index 89a274e5ac..6a5d127fd7 100644
--- a/test/old/testdir/test_functions.vim
+++ b/test/old/testdir/test_functions.vim
@@ -2711,11 +2711,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'))
@@ -2727,7 +2726,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'))