aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-08-07 01:28:52 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-08-12 22:35:22 +0100
commit287a77ef51a7a12813d3fa6e1c49c595e5951ba5 (patch)
tree2314f398ac41254032b9c60a143470577242b672 /src
parentf03dd22f0d37af88f40a27c694c3265026178e80 (diff)
downloadrneovim-287a77ef51a7a12813d3fa6e1c49c595e5951ba5.tar.gz
rneovim-287a77ef51a7a12813d3fa6e1c49c595e5951ba5.tar.bz2
rneovim-287a77ef51a7a12813d3fa6e1c49c595e5951ba5.zip
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. https://github.com/vim/vim/commit/24278d2407dfbc8d93eb36593cdd006ff5d86f94 Port tests to assert_spec.lua.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 1821ae51d7..a629fd9889 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -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},