diff options
Diffstat (limited to 'src/testdir/test_sound.vim')
-rw-r--r-- | src/testdir/test_sound.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test_sound.vim b/src/testdir/test_sound.vim index ff58262bf..e97ac6198 100644 --- a/src/testdir/test_sound.vim +++ b/src/testdir/test_sound.vim @@ -17,7 +17,11 @@ func Test_play_event() endif let g:playcallback_count = 0 let g:id = 0 - let id = 'bell'->sound_playevent('PlayCallback') + let event_name = 'bell' + if has('osx') + let event_name = 'Tink' + endif + let id = event_name->sound_playevent('PlayCallback') if id == 0 throw 'Skipped: bell event not available' endif |