diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-02 22:40:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 22:40:09 -0400 |
commit | 7d4f890aa92a1d961c5a048486adf9195427e940 (patch) | |
tree | 7bf54e6836f18958375cd09794b19b334da53d27 /test | |
parent | 68d40388f356587726ea7db83f87846dfaecf9d9 (diff) | |
parent | 6a2f1b1740e01f9cd35ec174a41bda6f49f44f2b (diff) | |
download | rneovim-7d4f890aa92a1d961c5a048486adf9195427e940.tar.gz rneovim-7d4f890aa92a1d961c5a048486adf9195427e940.tar.bz2 rneovim-7d4f890aa92a1d961c5a048486adf9195427e940.zip |
Merge pull request #14710 from janlazo/clang-warnings
Reduce clang warnings
Diffstat (limited to 'test')
-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) |