comparison src/testdir/test_swap.vim @ 24828:e0c43439fea6 v8.2.2952

patch 8.2.2952: recover test fails on big endian systems Commit: https://github.com/vim/vim/commit/99285550a9957e2c8669f183557944c6513c4875 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Jun 6 17:12:46 2021 +0200 patch 8.2.2952: recover test fails on big endian systems Problem: Recover test fails on big endian systems. Solution: Disable the failing test on big endian systems. (Yegappan Lakshmanan, closes #8335)
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Jun 2021 17:15:04 +0200
parents 4c5eec1ef612
children a4647ee8e163
comparison
equal deleted inserted replaced
24827:37d5599532ad 24828:e0c43439fea6
485 485
486 " Test for renaming a buffer when the swap file is deleted out-of-band 486 " Test for renaming a buffer when the swap file is deleted out-of-band
487 func Test_missing_swap_file() 487 func Test_missing_swap_file()
488 CheckUnix 488 CheckUnix
489 new Xfile1 489 new Xfile1
490 call delete('.Xfile1.swp') 490 call delete(swapname(''))
491 call assert_fails('file Xfile2', 'E301:') 491 call assert_fails('file Xfile2', 'E301:')
492 call assert_equal('Xfile2', bufname()) 492 call assert_equal('Xfile2', bufname())
493 call assert_true(bufexists('Xfile1')) 493 call assert_true(bufexists('Xfile1'))
494 call assert_true(bufexists('Xfile2')) 494 call assert_true(bufexists('Xfile2'))
495 %bw! 495 %bw!