Mercurial > vim
view src/testdir/test_alot.vim @ 10555:fff45421182b v8.0.0167
patch 8.0.0167: str2nr()/str2float() fail with negative values
commit https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 16:12:29 2017 +0100
patch 8.0.0167: str2nr()/str2float() fail with negative values
Problem: str2nr() and str2float() do not always work with negative values.
Solution: Be more flexible about handling signs. (LemonBoy, closes https://github.com/vim/vim/issues/1332)
Add more tests.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 16:15:04 +0100 |
parents | 80b50e43e382 |
children | 8f7b918da89f |
line wrap: on
line source
" A series of tests that can run in one Vim invocation. " This makes testing go faster, since Vim doesn't need to restart. source test_assign.vim source test_autocmd.vim source test_command_count.vim source test_cursor_func.vim source test_delete.vim source test_execute_func.vim source test_ex_undo.vim source test_expand.vim source test_expr.vim source test_expand_dllpath.vim source test_feedkeys.vim source test_file_perm.vim source test_fileformat.vim source test_filter_cmd.vim source test_filter_map.vim source test_float_func.vim source test_fnamemodify.vim source test_functions.vim source test_glob2regpat.vim source test_goto.vim source test_help_tagjump.vim source test_join.vim source test_jumps.vim source test_lambda.vim source test_lispwords.vim source test_match.vim source test_menu.vim source test_mapping.vim source test_messages.vim source test_partial.vim source test_popup.vim source test_reltime.vim source test_searchpos.vim source test_set.vim source test_sort.vim source test_statusline.vim source test_syn_attr.vim source test_tabline.vim source test_tabpage.vim source test_tagcase.vim source test_tagjump.vim source test_timers.vim source test_true_false.vim source test_unlet.vim source test_window_cmd.vim source test_options.vim