summaryrefslogtreecommitdiff
path: root/src/testdir/test_ex_mode.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_ex_mode.vim')
-rw-r--r--src/testdir/test_ex_mode.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_ex_mode.vim b/src/testdir/test_ex_mode.vim
index a72486b37..9f66e3f01 100644
--- a/src/testdir/test_ex_mode.vim
+++ b/src/testdir/test_ex_mode.vim
@@ -146,9 +146,7 @@ endfunc
" In Ex-mode, backslashes at the end of a command should be halved.
func Test_Ex_echo_backslash()
" This test works only when the language is English
- if v:lang != "C" && v:lang !~ '^[Ee]n'
- return
- endif
+ CheckEnglish
let bsl = '\\\\'
let bsl2 = '\\\'
call assert_fails('call feedkeys("Qecho " .. bsl .. "\nvisual\n", "xt")',