summaryrefslogtreecommitdiff
path: root/src/testdir/test_mksession.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_mksession.vim')
-rw-r--r--src/testdir/test_mksession.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_mksession.vim b/src/testdir/test_mksession.vim
index 62f14547b..58e9cddec 100644
--- a/src/testdir/test_mksession.vim
+++ b/src/testdir/test_mksession.vim
@@ -408,7 +408,7 @@ endfunc
func Test_mksession_terminal_restore_other()
terminal
- call term_setrestore(bufnr('%'), 'other')
+ eval bufnr('%')->term_setrestore('other')
mksession! Xtest_mks.out
let lines = readfile('Xtest_mks.out')
let term_cmd = ''