summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_blob.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-30 19:39:04 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-30 19:39:04 +0100
commit92be6e3f46120bb8e6c8fca0a7868a08df8b3345 (patch)
tree85aedf2f292debc8069ac5eebbff41df97e02443 /src/testdir/test_blob.vim
parent5feabe00c47fa66d5f4c95213f150488433f78e3 (diff)
patch 8.2.0184: blob test failsv8.2.0184
Problem: Blob test fails. Solution: Check for different error when float feature is missing.
Diffstat (limited to 'src/testdir/test_blob.vim')
-rw-r--r--src/testdir/test_blob.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test_blob.vim b/src/testdir/test_blob.vim
index 47c09e79f9..79fdf44465 100644
--- a/src/testdir/test_blob.vim
+++ b/src/testdir/test_blob.vim
@@ -324,5 +324,9 @@ func Test_blob_lock()
endfunc
func Test_blob_sort()
- call assert_fails('call sort(["abc", 0z11], "f")', 'E702:')
+ if has('float')
+ call assert_fails('call sort([1.0, 0z11], "f")', 'E975:')
+ else
+ call assert_fails('call sort(["abc", 0z11], "f")', 'E702:')
+ endif
endfunc
#fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# -*- coding: utf-8; mode: python -*-

project = "Development tools for the kernel"

tags.add("subproject")

latex_documents = [
    ('index', 'dev-tools.tex', project,
     'The kernel development community', 'manual'),
]