Mercurial > vim
comparison src/testdir/test49.vim @ 7977:96fe78b32ad5 v7.4.1284
commit https://github.com/vim/vim/commit/dc94a26a641914df5f1ba1ab47a5752e1137287e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 20:29:00 2016 +0100
patch 7.4.1284
Problem: Test 49 fails.
Solution: Check for a different error message.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Feb 2016 20:30:05 +0100 |
parents | 4ff843da79fd |
children | e05695e59f6d |
comparison
equal
deleted
inserted
replaced
7976:004197c4dc0d | 7977:96fe78b32ad5 |
---|---|
1 " Vim script language tests | 1 " Vim script language tests |
2 " Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com> | 2 " Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com> |
3 " Last Change: 2016 Jan 02 | 3 " Last Change: 2016 Feb 07 |
4 | 4 |
5 "------------------------------------------------------------------------------- | 5 "------------------------------------------------------------------------------- |
6 " Test environment {{{1 | 6 " Test environment {{{1 |
7 "------------------------------------------------------------------------------- | 7 "------------------------------------------------------------------------------- |
8 | 8 |
5747 finally | 5747 finally |
5748 Xpath 4096 " X: 4096 | 5748 Xpath 4096 " X: 4096 |
5749 if !caught && !$VIMNOERRTHROW | 5749 if !caught && !$VIMNOERRTHROW |
5750 Xpath 8192 " X: 0 | 5750 Xpath 8192 " X: 0 |
5751 endif | 5751 endif |
5752 if caught ? !MSG('E55', 'Unmatched \\)') | 5752 if !MSG('E475', "Invalid argument") |
5753 \ : !MSG('E475', "Invalid argument") | |
5754 Xpath 16384 " X: 0 | 5753 Xpath 16384 " X: 0 |
5755 endif | 5754 endif |
5756 if !caught | 5755 if !caught |
5757 return | " discard error | 5756 return | " discard error |
5758 endif | 5757 endif |