diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-06-12 14:41:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 14:41:19 +0800 |
commit | 551cc3a2a3e2ee180234910cbe2ef81bd37508de (patch) | |
tree | af539897ec260bd4ac8a8db8f3544501f455a363 /test/functional/legacy | |
parent | 3c4890d1efe7c23c0bff7bc4532f19cf03c94e04 (diff) | |
parent | 41ee7bc7dbcca4ce3d35c13450220d3bffcad15e (diff) | |
download | rneovim-551cc3a2a3e2ee180234910cbe2ef81bd37508de.tar.gz rneovim-551cc3a2a3e2ee180234910cbe2ef81bd37508de.tar.bz2 rneovim-551cc3a2a3e2ee180234910cbe2ef81bd37508de.zip |
Merge pull request #23995 from zeertzjq/vim-8.2.1524
vim-patch:8.2.{1524,2948,2949}: Float to String conversion
Diffstat (limited to 'test/functional/legacy')
-rw-r--r-- | test/functional/legacy/glob2regpat_spec.lua | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/functional/legacy/glob2regpat_spec.lua b/test/functional/legacy/glob2regpat_spec.lua index 1771f12f85..de304f3e4b 100644 --- a/test/functional/legacy/glob2regpat_spec.lua +++ b/test/functional/legacy/glob2regpat_spec.lua @@ -1,16 +1,10 @@ --- Tests for signs - local helpers = require('test.functional.helpers')(after_each) -local clear, exc_exec = helpers.clear, helpers.exc_exec +local clear = helpers.clear local eq, eval = helpers.eq, helpers.eval describe('glob2regpat()', function() before_each(clear) - it('handles invalid input', function() - eq('Vim(call):E806: Using a Float as a String', - exc_exec('call glob2regpat(1.33)')) - end) it('returns ^$ for empty input', function() eq('^$', eval("glob2regpat('')")) end) |