diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-02 21:05:13 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-02 21:05:13 -0400 |
commit | 59db83bc5980871a6e21bdfba02c7c9f56bbd45b (patch) | |
tree | 610c4d3bd3b8f84a4078029bae4be5f730544f70 /test/functional/eval/null_spec.lua | |
parent | 68d40388f356587726ea7db83f87846dfaecf9d9 (diff) | |
download | rneovim-59db83bc5980871a6e21bdfba02c7c9f56bbd45b.tar.gz rneovim-59db83bc5980871a6e21bdfba02c7c9f56bbd45b.tar.bz2 rneovim-59db83bc5980871a6e21bdfba02c7c9f56bbd45b.zip |
clang/API: reject null string in timer_start()
Diffstat (limited to 'test/functional/eval/null_spec.lua')
-rw-r--r-- | test/functional/eval/null_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/eval/null_spec.lua b/test/functional/eval/null_spec.lua index 8f0041ff27..b1ceff9115 100644 --- a/test/functional/eval/null_spec.lua +++ b/test/functional/eval/null_spec.lua @@ -150,6 +150,7 @@ describe('NULL', function() null_test('does not crash :execute', 'execute S', 0) null_expr_test('does not crash execute()', 'execute(S)', 0, '') null_expr_test('makes executable() error out', 'executable(S)', 'E928: String required', 0) + null_expr_test('makes timer_start() error out', 'timer_start(0, S)', 'E921: Invalid callback argument', -1) null_expr_test('does not crash filereadable()', 'filereadable(S)', 0, 0) null_expr_test('does not crash filewritable()', 'filewritable(S)', 0, 0) null_expr_test('does not crash fnamemodify()', 'fnamemodify(S, S)', 0, '') @@ -162,7 +163,6 @@ describe('NULL', function() null_expr_test('does not crash mkdir()', 'mkdir(S)', 0, 0) null_expr_test('does not crash sort()', 'sort(["b", S, "a"])', 0, {'', 'a', 'b'}) null_expr_test('does not crash split()', 'split(S)', 0, {}) - null_test('can be used to set an option', 'let &grepprg = S', 0) null_expr_test('is equal to non-existent variable', 'S == V', 0, 1) |