summaryrefslogtreecommitdiff
path: root/src/testdir/test_sound.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-10 13:11:22 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-10 13:11:22 +0200
commit3ff5f0f05d437a6b3eaf3caa5dc2762b49314617 (patch)
tree8ea013e3bb1441b897d232b0139b711d5612d6f0 /src/testdir/test_sound.vim
parent38ea784fecf7921dca83ddc75fe9cb40708521b2 (diff)
downloadvim-git-3ff5f0f05d437a6b3eaf3caa5dc2762b49314617.tar.gz
patch 8.1.1513: all popup functionality is in functions, except :popupclearv8.1.1513
Problem: All popup functionality is in functions, except :popupclear. Solution: Add popup_clear() for consistency. Also rename sound_stopall() to sound_clear().
Diffstat (limited to 'src/testdir/test_sound.vim')
-rw-r--r--src/testdir/test_sound.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_sound.vim b/src/testdir/test_sound.vim
index e47c677e9..1e2c455e6 100644
--- a/src/testdir/test_sound.vim
+++ b/src/testdir/test_sound.vim
@@ -41,7 +41,7 @@ func Test_play_silent()
let id2 = sound_playfile(fname, 'PlayCallback')
call assert_true(id2 > 0)
sleep 20m
- call sound_stopall()
+ call sound_clear()
call assert_equal(id2, g:id)
call assert_equal(1, g:result)
endfunc