patch 8.2.2112: running tests may leave some files behind
Problem: Running tests may leave some files behind.
Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
closes #7436
diff --git a/src/testdir/test_mksession.vim b/src/testdir/test_mksession.vim
index c2b8fb9..723eb8e 100644
--- a/src/testdir/test_mksession.vim
+++ b/src/testdir/test_mksession.vim
@@ -381,7 +381,7 @@
let term_cmd = ''
for line in lines
if line =~ '^terminal'
- call assert_report('session must not restore teminal')
+ call assert_report('session must not restore terminal')
endif
endfor
@@ -398,7 +398,7 @@
let term_cmd = ''
for line in lines
if line =~ '^terminal'
- call assert_report('session must not restore teminal')
+ call assert_report('session must not restore terminal')
endif
endfor
@@ -416,7 +416,7 @@
let term_cmd = ''
for line in lines
if line =~ '^terminal'
- call assert_report('session must not restore teminal')
+ call assert_report('session must not restore terminal')
endif
endfor
@@ -434,7 +434,7 @@
let term_cmd = ''
for line in lines
if line =~ '^terminal'
- call assert_report('session must not restore teminal')
+ call assert_report('session must not restore terminal')
endif
endfor
@@ -940,6 +940,7 @@
call assert_equal('Xtwoalt', bufname('#'))
only
bwipe!
+ call delete('Xtest_altfile')
endfunc
" vim: shiftwidth=2 sts=2 expandtab