comparison src/testdir/test_gui.vim @ 27994:c6789534b255 v8.2.4522

patch 8.2.4522: GUI test fails with Motif Commit: https://github.com/vim/vim/commit/88dd6523fa86760a8f014ea16c3bb882db9bba07 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 6 22:21:37 2022 +0000 patch 8.2.4522: GUI test fails with Motif Problem: GUI test fails with Motif. (Dominique Pell?) Solution: Remove using an invalid value for 'guifontset'.
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Mar 2022 23:30:03 +0100
parents 7480a2e2ca0f
children fc34d6c4a42c
comparison
equal deleted inserted replaced
27993:cfe959a484c9 27994:c6789534b255
547 set guifontset=-*-notexist-* 547 set guifontset=-*-notexist-*
548 call assert_report("'set guifontset=-*-notexist-*' should have failed") 548 call assert_report("'set guifontset=-*-notexist-*' should have failed")
549 catch 549 catch
550 call assert_exception('E598:') 550 call assert_exception('E598:')
551 endtry 551 endtry
552 " Set it to an invalid value brutally for preparation.
553 let &guifontset = '-*-notexist-*'
554 552
555 " Case 2-1: Automatic selection 553 " Case 2-1: Automatic selection
556 set guifontwide= 554 set guifontwide=
557 exec 'set guifont=' . nfont 555 exec 'set guifont=' . nfont
558 call assert_equal(wfont, &guifontwide) 556 call assert_equal(wfont, &guifontwide)