diff options
| author | Bram Moolenaar <Bram@vim.org> | 2020-06-03 19:55:35 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2020-06-03 19:55:35 +0200 |
| commit | fb517bac2384798bb5142ed1f75f965f93984c0a (patch) | |
| tree | 44d7bd1442dfa1af46844cbe84a099bd87eb2007 /runtime/doc/testing.txt | |
| parent | c5acc0f7fed6b061d994fc5ac660dcc0312750bd (diff) | |
| download | vim-git-8.2.0893.tar.gz | |
patch 8.2.0893: assert_equalfile() does not take a third argumentv8.2.0893
Problem: Assert_equalfile() does not take a third argument.
Solution: Implement the third argument. (Gary Johnson)
Diffstat (limited to 'runtime/doc/testing.txt')
| -rw-r--r-- | runtime/doc/testing.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index 9c87cba64..19fb32174 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -263,9 +263,8 @@ assert_equal({expected}, {actual} [, {msg}]) Can also be used as a |method|: > mylist->assert_equal([1, 2, 3]) - < *assert_equalfile()* -assert_equalfile({fname-one}, {fname-two}) +assert_equalfile({fname-one}, {fname-two} [, {msg}]) When the files {fname-one} and {fname-two} do not contain exactly the same text an error message is added to |v:errors|. Also see |assert-return|. @@ -276,7 +275,6 @@ assert_equalfile({fname-one}, {fname-two}) Can also be used as a |method|: > GetLog()->assert_equalfile('expected.log') - assert_exception({error} [, {msg}]) *assert_exception()* When v:exception does not contain the string {error} an error message is added to |v:errors|. Also see |assert-return|. |
