Mercurial > vim
annotate runtime/compiler/rspec.vim @ 16668:81be817c9d9a v8.1.1336
patch 8.1.1336: some eval functionality is not covered by tests
commit https://github.com/vim/vim/commit/17aca707f92235b6f962e637e8073162d18e6de2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 16 22:24:55 2019 +0200
patch 8.1.1336: some eval functionality is not covered by tests
Problem: Some eval functionality is not covered by tests.
Solution: Add a few more test cases. (Masato Nishihata, closes https://github.com/vim/vim/issues/4374)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 May 2019 22:30:06 +0200 |
parents | f0f06837a699 |
children | e1df51f68736 |
rev | line source |
---|---|
1668 | 1 " Vim compiler file |
2 " Language: RSpec | |
2225 | 3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> |
4869 | 4 " URL: https://github.com/vim-ruby/vim-ruby |
1668 | 5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> |
15512 | 6 " Last Change: 2018 Aug 07 |
1668 | 7 |
8 if exists("current_compiler") | |
9 finish | |
10 endif | |
11 let current_compiler = "rspec" | |
12 | |
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
14 command -nargs=* CompilerSet setlocal <args> | |
15 endif | |
16 | |
17 let s:cpo_save = &cpo | |
18 set cpo-=C | |
19 | |
4869 | 20 CompilerSet makeprg=rspec |
1668 | 21 |
22 CompilerSet errorformat= | |
4869 | 23 \%f:%l:\ %tarning:\ %m, |
1668 | 24 \%E%.%#:in\ `load':\ %f:%l:%m, |
4869 | 25 \%E%f:%l:in\ `%*[^']':\ %m, |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
26 \%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#, |
15512 | 27 \%E\ \ \ \ \ Failure/Error:\ %m, |
28 \%E\ \ \ \ \ Failure/Error:, | |
4869 | 29 \%C\ \ \ \ \ %m, |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
30 \%C%\\s%#, |
1668 | 31 \%-G%.%# |
32 | |
33 let &cpo = s:cpo_save | |
34 unlet s:cpo_save | |
35 | |
36 " vim: nowrap sw=2 sts=2 ts=8: |