From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 29 Jan 2022 03:38:50 +0000 (-0800) Subject: Add a test case to torture.py (#2822) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/a4992b4d50d6efa41b49ed0f804c5ed3723399db?ds=inline Add a test case to torture.py (#2822) Co-authored-by: hauntsaninja <> --- diff --git a/tests/data/torture.py b/tests/data/torture.py index 7cabd4c..2a19475 100644 --- a/tests/data/torture.py +++ b/tests/data/torture.py @@ -22,6 +22,12 @@ def test(self, othr): (name, description, self.default, self.selected, self.auto_generated, self.parameters, self.meta_data, self.schedule) == (name, description, othr.default, othr.selected, othr.auto_generated, othr.parameters, othr.meta_data, othr.schedule)) + +assert ( + a_function(very_long_arguments_that_surpass_the_limit, which_is_eighty_eight_in_this_case_plus_a_bit_more) + == {"x": "this need to pass the line limit as well", "b": "but only by a little bit"} +) + # output importA @@ -76,3 +82,10 @@ def test(self, othr): othr.meta_data, othr.schedule, ) + + +assert a_function( + very_long_arguments_that_surpass_the_limit, + which_is_eighty_eight_in_this_case_plus_a_bit_more, +) == {"x": "this need to pass the line limit as well", "b": "but only by a little bit"} +