aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2023-11-25 07:08:27 -0500
committerGitHub <noreply@github.com>2023-11-25 07:08:27 -0500
commit0da62b579fbd3a21c7ab808f1bb10263d469a1e9 (patch)
tree58e84c97d7da26fd683d83cd769ca36d149e5e28
parentaad701abe79e30465c08e9ee192ea9ec7353aab1 (diff)
parenta1ded1b113d22f4ec8c14fab4aff5f9d0c43f8b4 (diff)
downloadrneovim-0da62b579fbd3a21c7ab808f1bb10263d469a1e9.tar.gz
rneovim-0da62b579fbd3a21c7ab808f1bb10263d469a1e9.tar.bz2
rneovim-0da62b579fbd3a21c7ab808f1bb10263d469a1e9.zip
Merge pull request #26203 from jamessan/swapfile-test-fix
fix(oldtest): always use a 64-bit int for swapfile block number
-rw-r--r--test/old/testdir/test_recover.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_recover.vim b/test/old/testdir/test_recover.vim
index 36a9cff073..fa8cc1abaf 100644
--- a/test/old/testdir/test_recover.vim
+++ b/test/old/testdir/test_recover.vim
@@ -266,7 +266,7 @@ func Test_recover_corrupted_swap_file()
" set the block number in a pointer entry to a negative number
let b = copy(save_b)
- if system_64bit
+ if v:true " Nvim changed this field from a long to an int64_t
let b[4104:4111] = little_endian ? 0z00000000.00000080 : 0z80000000.00000000
else
let b[4104:4107] = little_endian ? 0z00000080 : 0z80000000