comparison runtime/doc/testing.txt @ 21250:21fb2a3ad3ca

Update runtime files Commit: https://github.com/vim/vim/commit/7ff78465f7057a672a6de0d75d56286da253501b Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 10 22:00:53 2020 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 10 Jul 2020 22:15:08 +0200
parents 59f93c2d2551
children 6a4806e326dd
comparison
equal deleted inserted replaced
21249:ade13ad020ef 21250:21fb2a3ad3ca
1 *testing.txt* For Vim version 8.2. Last change: 2020 Jun 15 1 *testing.txt* For Vim version 8.2. Last change: 2020 Jul 09
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
262 Example: > 262 Example: >
263 assert_equal('foo', 'bar') 263 assert_equal('foo', 'bar')
264 < Will result in a string to be added to |v:errors|: 264 < Will result in a string to be added to |v:errors|:
265 test.vim line 12: Expected 'foo' but got 'bar' ~ 265 test.vim line 12: Expected 'foo' but got 'bar' ~
266 266
267 Can also be used as a |method|: > 267 Can also be used as a |method|, the base is passed as the
268 second argument: >
268 mylist->assert_equal([1, 2, 3]) 269 mylist->assert_equal([1, 2, 3])
269 270
270 < *assert_equalfile()* 271 < *assert_equalfile()*
271 assert_equalfile({fname-one}, {fname-two} [, {msg}]) 272 assert_equalfile({fname-one}, {fname-two} [, {msg}])
272 When the files {fname-one} and {fname-two} do not contain 273 When the files {fname-one} and {fname-two} do not contain