vim-patch:8.1.0884: double check for bsd systems

Problem:    Double check for bsd systems.
Solution:   Delete the old line.
af630d4f7f
This commit is contained in:
zeertzjq 2022-02-04 09:23:54 +08:00
parent 22a7693915
commit 5a9e5b6c38

View File

@ -1396,7 +1396,6 @@ func Test_platform_name()
if has('unix') && executable('uname')
let uname = system('uname')
call assert_equal(uname =~? 'BeOS', has('beos'))
call assert_equal(uname =~? 'BSD\|DragonFly', has('bsd'))
" 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'))