tests/bundled/ut/UT.README @ 9a42f3562a99

Neovim support: line buffers shouldn't contain newlines

The result of `difflib.unified_diff()` may contains newlines at the end of its
each line. It's suppressed in original Vim, but it's illegal in Neovim.

Since there is no good way to prevent `difflib` from appending newlines to the
results, `_output_preview_text()` function should sanitize it.

Thanks @michamos

Reference:
  https://github.com/neovim/neovim/blob/a5edc5f2572d6d63f7f7a32ae6ec7bcabe1472b6/src/nvim/api/buffer.c#L215
  https://github.com/sjl/gundo.vim/pull/30#issuecomment-170064637
author Hyeon Kim <simnalamburt@gmail.com>
date Mon, 15 Dec 2014 06:29:40 +0900
parents 2b3d5ee5c4a4
children (none)
			  --------------------
			       UT v0.0.3
			  --------------------

UT is a Unit Testing Framework for Vim

Audience      : Vim script maintainers
Requirements  : Vim 7, lh-vim-lib v2.2.0 ;
	        takes advantage of BuildtoolsWrappers if installed.
Required by   : Only lh-vim
Maintainer    : Luc Hermitte
License       : GPL 2 (see http://www.gnu.org/licenses/gpl.txt)
More Help At  : http://code.google.com/p/lh-vim/wiki/UT
Vim script#???: http://www.vim.org/scripts/script.php?script_id=???
Repository    :
	svn checkout http://lh-vim.googlecode.com/svn/UT/trunk UT