vim-patch:8.1.1861: only some assert functions can be used as a method

Problem:    Only some assert functions can be used as a method.
Solution:   Allow using most assert functions as a method.
24278d2407

Port tests to assert_spec.lua.
This commit is contained in:
Sean Dewar
2021-08-07 01:28:52 +01:00
parent f03dd22f0d
commit 287a77ef51
3 changed files with 83 additions and 7 deletions

View File

@@ -33,19 +33,19 @@ return {
arglistid={args={0, 2}},
argv={args={0, 2}},
asin={args=1, func="float_op_wrapper", data="&asin"}, -- WJMc
assert_beeps={args={1}},
assert_beeps={args={1}, base=1},
assert_equal={args={2, 3}, base=2},
assert_equalfile={args={2, 3}},
assert_exception={args={1, 2}},
assert_fails={args={1, 3}},
assert_false={args={1, 2}},
assert_inrange={args={3, 4}},
assert_match={args={2, 3}},
assert_fails={args={1, 3}, base=1},
assert_false={args={1, 2}, base=1},
assert_inrange={args={3, 4}, base=3},
assert_match={args={2, 3}, base=2},
assert_nobeep={args={1}},
assert_notequal={args={2, 3}, base=2},
assert_notmatch={args={2, 3}},
assert_notmatch={args={2, 3}, base=2},
assert_report={args=1},
assert_true={args={1, 2}},
assert_true={args={1, 2}, base=1},
atan={args=1, func="float_op_wrapper", data="&atan"},
atan2={args=2},
browse={args=4},