Mercurial > vim
comparison src/testdir/test_termcodes.vim @ 18247:eda5b2cb1dc4 v8.1.2118
patch 8.1.2118: termcodes test fails when $TERM is "dumb"
Commit: https://github.com/vim/vim/commit/eb66328bd78c3001d71138306325718cb1c94712
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 6 12:02:15 2019 +0200
patch 8.1.2118: termcodes test fails when $TERM is "dumb"
Problem: Termcodes test fails when $TERM is "dumb".
Solution: Skip the test. (James McCoy, closes https://github.com/vim/vim/issues/5019)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Oct 2019 12:15:04 +0200 |
parents | 8a86e518fa42 |
children | db8cd5e56586 |
comparison
equal
deleted
inserted
replaced
18246:86b2892d767d | 18247:eda5b2cb1dc4 |
---|---|
796 | 796 |
797 set t_RV= | 797 set t_RV= |
798 endfunc | 798 endfunc |
799 | 799 |
800 func Test_get_termcode() | 800 func Test_get_termcode() |
801 let k1 = &t_k1 | 801 try |
802 let k1 = &t_k1 | |
803 catch /E113/ | |
804 throw 'Skipped: Unable to query termcodes' | |
805 endtry | |
802 set t_k1= | 806 set t_k1= |
803 set t_k1& | 807 set t_k1& |
804 call assert_equal(k1, &t_k1) | 808 call assert_equal(k1, &t_k1) |
805 | 809 |
806 " use external termcap first | 810 " use external termcap first |