diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-27 15:55:43 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-27 15:55:43 +0100 |
commit | f802767df7b4532651fcf11d49e812ead32db45b (patch) | |
tree | abd877478e97ff3d88eab3ffa1c797a5cf8899bd /src/testdir/check.vim | |
parent | 524c853e5ef0392fcf28e449946e05e7e3046e67 (diff) |
patch 9.0.0607: verbose echo message test fails on Mac OSv9.0.0607
Problem: Verbose echo message test fails on Mac OS.
Solution: Skip the test on Mac OS.
Diffstat (limited to 'src/testdir/check.vim')
-rw-r--r-- | src/testdir/check.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/check.vim b/src/testdir/check.vim index c3f2563898..82abb64673 100644 --- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -111,6 +111,14 @@ func CheckNotBSD() endif endfunc +" Command to check for not running on a MacOS +command CheckNotMac call CheckNotMac() +func CheckNotMac() + if has('mac') + throw 'Skipped: does not work on MacOS' + endif +endfunc + " Command to check for not running on a MacOS M1 system. command CheckNotMacM1 call CheckNotMacM1() func CheckNotMacM1() |