summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_gui.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-04 21:18:46 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-04 21:18:46 +0200
commite2e4075fad1326181edc5a131e48c644ef613693 (patch)
treef3749b559e690b3e8e80990441aeb6459d955fce /src/testdir/test_gui.vim
parent24f7750ffa9730579736d779b7cc94faff325fc1 (diff)
patch 8.2.1593: tests do not check the error number properlyv8.2.1593
Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r--src/testdir/test_gui.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim
index c01a290ee3..64537ac753 100644
--- a/src/testdir/test_gui.vim
+++ b/src/testdir/test_gui.vim
@@ -525,7 +525,7 @@ func Test_set_guifontwide()
set guifontset=-*-notexist-*
call assert_report("'set guifontset=-*-notexist-*' should have failed")
catch
- call assert_exception('E598')
+ call assert_exception('E598:')
endtry
" Set it to an invalid value brutally for preparation.
let &guifontset = '-*-notexist-*'