comparison src/testdir/test_blob.vim @ 24486:5e0db87e5184 v8.2.2783

patch 8.2.2783: duplicate code for setting byte in blob, blob test may fail Commit: https://github.com/vim/vim/commit/e8209b91b9974da95899b51dba4058b411d04d5b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 18 16:08:52 2021 +0200 patch 8.2.2783: duplicate code for setting byte in blob, blob test may fail Problem: Duplicate code for setting byte in blob, blob test may fail. Solution: Call blob_set_append(). Test sort failure with "N".
author Bram Moolenaar <Bram@vim.org>
date Sun, 18 Apr 2021 16:15:04 +0200
parents bc1a533148d7
children 4d3c68196d05
comparison
equal deleted inserted replaced
24485:243d48e704cb 24486:5e0db87e5184
628 628
629 func Test_blob_sort() 629 func Test_blob_sort()
630 if has('float') 630 if has('float')
631 call CheckLegacyAndVim9Failure(['call sort([1.0, 0z11], "f")'], 'E975:') 631 call CheckLegacyAndVim9Failure(['call sort([1.0, 0z11], "f")'], 'E975:')
632 endif 632 endif
633 call CheckLegacyAndVim9Failure(['call sort(["abc", 0z11], "f")'], 'E892:') 633 call CheckLegacyAndVim9Failure(['call sort([11, 0z11], "N")'], 'E974:')
634 endfunc 634 endfunc
635 635
636 " vim: shiftwidth=2 sts=2 expandtab 636 " vim: shiftwidth=2 sts=2 expandtab