Mercurial > vim
view src/testdir/test_tcl.vim @ 14163:99a96be12254 v8.1.0099
patch 8.1.0099: exclamation mark in error message not needed
commit https://github.com/vim/vim/commit/3c867daaf09e8ac6ce4b9d43d6fbbfdd7689702d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 23 14:34:28 2018 +0200
patch 8.1.0099: exclamation mark in error message not needed
Problem: Exclamation mark in error message not needed.
Solution: Remove the exclamation mark.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Jun 2018 14:45:05 +0200 |
parents | ae0bbbbe2a38 |
children | c80acf74e7df |
line wrap: on
line source
" Tests for the Tcl interface. if !has('tcl') finish end function Test_tcldo() " Check deleting lines does not trigger ml_get error. new call setline(1, ['one', 'two', 'three']) tcldo ::vim::command %d_ bwipe! " Check switching to another buffer does not trigger ml_get error. new let wincount = winnr('$') call setline(1, ['one', 'two', 'three']) tcldo ::vim::command new call assert_equal(wincount + 1, winnr('$')) bwipe! bwipe! endfunc