neovim/test/unit
Sean Dewar 90a4cf92d2
vim-patch:8.2.0886: cannot use octal numbers in scriptversion 4
Problem:    Cannot use octal numbers in scriptversion 4.
Solution:   Add the "0o" notation. (Ken Takata, closes vim/vim#5304)
c17e66c5c0

:scriptversion is N/A.

Cherry-pick latest str2nr() doc changes from v8.1.2035.
Cherry-pick various mentions of the 0o prefix from:
 - v8.2.2324
 - 2346a63784
 - 11e3c5ba82
 - 82be4849ee

Patch used ascii_isbdigit() by mistake, which was fixed in v8.2.2309.

Make STR2NR_OOCT work the same as STR2NR_OCT when forcing.
In Vim, STR2NR_FORCE | STR2NR_OOCT isn't handled, and doesn't actually
force anything. Rather than abort(), make it work as STR2NR_OCT.

This means STR2NR_FORCE | STR2NR_OCT works the same as
STR2NR_FORCE | STR2NR_OOCT and STR2NR_FORCE | STR2NR_OCT | STR2NR_OOCT.
2021-09-11 15:36:03 +01:00
..
api test: Lua 5.2/5.3 compat 2019-01-17 23:06:04 +01:00
charset vim-patch:8.2.0886: cannot use octal numbers in scriptversion 4 2021-09-11 15:36:03 +01:00
eval vim-patch:8.1.0897: can modify a:000 when using a reference (#14902) 2021-06-26 10:19:09 -04:00
fixtures *: Add comment to all C files 2017-04-19 19:11:50 +03:00
os win: avoid duplicate separators in $PATH #12869 2020-09-08 20:47:22 -07:00
viml fix(highlight): remove syncolor.vim 2021-07-27 14:14:30 -06:00
buffer_spec.lua vim-patch:8.2.1909: number of status line items is limited to 80 2020-10-31 19:54:06 -04:00
fileio_spec.lua unittests: Check core dumps in after_each, like in functests 2017-03-11 23:23:49 +03:00
formatc.lua test/unit/formatc: Fix parsing of most recent viml_parser_highlight 2017-10-16 03:03:34 +03:00
garray_spec.lua unittests: Do not import libnvim or headers in main process 2017-03-11 23:23:49 +03:00
helpers.lua vim-patch:8.0.1554: custom plugins loaded with --clean 2020-06-18 18:01:41 -04:00
keymap_spec.lua os/input.c: parse keycodes in non-string context #7411 2018-01-18 01:37:51 +01:00
marktree_spec.lua extmark: fix deletable nodes in MarkTree sometimes getting skipped 2021-06-22 10:32:46 +02:00
mbyte_spec.lua build/doc/CI: remove/update quickbuild references #11258 2019-10-19 18:04:08 -07:00
memory_spec.lua unittests: Check core dumps in after_each, like in functests 2017-03-11 23:23:49 +03:00
message_spec.lua unittests: Update test/unit/message_spec.lua 2017-03-11 23:26:33 +03:00
multiqueue_spec.lua unittests: Use more adequate names for some functions 2017-03-12 02:54:23 +03:00
option_spec.lua unittests: Check core dumps in after_each, like in functests 2017-03-11 23:23:49 +03:00
path_spec.lua path: add helper for checking a file extension 2020-12-01 10:50:38 +01:00
preload.lua unittests: Check core dumps in after_each, like in functests 2017-03-11 23:23:49 +03:00
preprocess.lua Revert "tests: unit: fix preprocess: pass -m32 for 32bit ABI (#11073)" 2021-08-16 00:02:22 -04:00
profile_spec.lua unittests: Do not import libnvim or headers in main process 2017-03-11 23:23:49 +03:00
rbuffer_spec.lua unittests: Use more adequate names for some functions 2017-03-12 02:54:23 +03:00
search_spec.lua search.c: remove dead code #5307 2019-03-02 03:13:00 +01:00
set.lua unittests: Move filtering cdefs to main process 2017-03-12 03:02:14 +03:00
strings_spec.lua tests: Add tests for vim_strchr 2017-05-09 14:41:23 +03:00
tempfile_spec.lua unittests: avoid using pattern matching on file names 2017-03-16 06:58:15 -04:00
testtest_spec.lua unittests: Collect traces 2017-04-01 12:25:10 +03:00
tui_spec.lua test,unit: Change test according to change of bg color response processing 2020-11-20 09:26:17 -05:00
undo_spec.lua refactor(undo): don't assume curbuf in u_compute_hash 2021-07-09 15:36:07 +02:00