Mercurial > vim
comparison src/testdir/test_put.vim @ 26073:948550cae1e7 v8.2.3570
patch 8.2.3570: Test_very_large_count fails on 32bit systems
Commit: https://github.com/vim/vim/commit/ec6e63079dde24a1d74b4103775e74d00f9215ec
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 1 22:58:43 2021 +0000
patch 8.2.3570: Test_very_large_count fails on 32bit systems
Problem: Test_very_large_count fails on 32bit systems.
Solution: Bail out when using 32 bit numbers. (closes https://github.com/vim/vim/issues/9072)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 Nov 2021 00:00:05 +0100 |
parents | b863efc63397 |
children | a60952e58e5d |
comparison
equal
deleted
inserted
replaced
26072:dc79b552f424 | 26073:948550cae1e7 |
---|---|
150 | 150 |
151 func Test_very_large_count() | 151 func Test_very_large_count() |
152 " FIXME: should actually check if sizeof(int) == sizeof(long) | 152 " FIXME: should actually check if sizeof(int) == sizeof(long) |
153 CheckNotMSWindows | 153 CheckNotMSWindows |
154 | 154 |
155 if v:numbersize != 64 | |
156 throw 'Skipped: only works with 64 bit numbers' | |
157 endif | |
158 | |
155 new | 159 new |
156 let @" = 'x' | 160 let @" = 'x' |
157 call assert_fails('norm 44444444444444p', 'E1240:') | 161 call assert_fails('norm 44444444444444p', 'E1240:') |
158 bwipe! | 162 bwipe! |
159 endfunc | 163 endfunc |