From bac247b1f2043aaafb2aa618cd2b767545c5ece4 Mon Sep 17 00:00:00 2001 From: wangjiang Date: Wed, 31 Aug 2022 10:33:35 +0800 Subject: [PATCH] fix test87 failed --- src/testdir/test87.ok | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index 7ddea8f..00902f6 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -672,7 +672,7 @@ vim.command(1):(, TypeError('expected bytes() or str() instan vim.command(b"\0"):(, TypeError('expected bytes with no null',)) vim.command("\0"):(, TypeError('expected bytes with no null',)) <<< Finished -vim.command("", 2):(, TypeError('command() takes exactly one argument (2 given)',)) +vim.command("", 2):(, TypeError('vim.command() takes exactly one argument (2 given)',)) > VimToPython > VimEval >>> Testing StringToChars using vim.eval(%s) @@ -698,7 +698,7 @@ vim.strwidth("\0"):(, TypeError('expected bytes with no null' vim.foreach_rtp(None):(, TypeError("'NoneType' object is not callable",)) vim.foreach_rtp(NoArgsCall()):(, TypeError('__call__() takes exactly 1 positional argument (2 given)',)) vim.foreach_rtp(FailingCall()):(, NotImplementedError('call',)) -vim.foreach_rtp(int, 2):(, TypeError('foreach_rtp() takes exactly one argument (2 given)',)) +vim.foreach_rtp(int, 2):(, TypeError('vim.foreach_rtp() takes exactly one argument (2 given)',)) > import import xxx_no_such_module_xxx:(, ImportError('No module named xxx_no_such_module_xxx',)) import failing_import:(, ImportError()) @@ -962,9 +962,9 @@ d.update((("a", FailingMappingKey()),)):(, NotImple d.update((("a", FailingNumber()),)):(, NotImplementedError('int',)) <<< Finished >> DictionaryPopItem -d.popitem(1, 2):(, TypeError('popitem() takes no arguments (2 given)',)) +d.popitem(1, 2):(, TypeError('dictionary.popitem() takes no arguments (2 given)',)) >> DictionaryHasKey -d.has_key():(, TypeError('has_key() takes exactly one argument (0 given)',)) +d.has_key():(, TypeError('dictionary.has_key() takes exactly one argument (0 given)',)) > List >> ListConstructor vim.List(1, 2):(, TypeError('function takes at most 1 argument (2 given)',)) -- 2.33.0