annotate runtime/compiler/rubyunit.vim @ 23911:30e3a7a33b66 v8.2.2498

patch 8.2.2498: no test for what 8.2.2494 fixes Commit: https://github.com/vim/vim/commit/5affc034680a95eabfbfca763bedf86ae0a79c44 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 11 18:36:30 2021 +0100 patch 8.2.2498: no test for what 8.2.2494 fixes Problem: No test for what 8.2.2494 fixes. Solution: Add a simple change to test the fix. (closes https://github.com/vim/vim/issues/7818)
author Bram Moolenaar <Bram@vim.org>
date Thu, 11 Feb 2021 18:45:03 +0100
parents f0f06837a699
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
533
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
1 " Vim compiler file
833
52d17d53b555 updated for version 7.0d05
vimboss
parents: 557
diff changeset
2 " Language: Test::Unit - Ruby Unit Testing Framework
52d17d53b555 updated for version 7.0d05
vimboss
parents: 557
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2225
diff changeset
4 " URL: https://github.com/vim-ruby/vim-ruby
833
52d17d53b555 updated for version 7.0d05
vimboss
parents: 557
diff changeset
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
6 " Last Change: 2014 Mar 23
533
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
7
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
8 if exists("current_compiler")
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
9 finish
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
10 endif
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
11 let current_compiler = "rubyunit"
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
12
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
14 command -nargs=* CompilerSet setlocal <args>
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
15 endif
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
16
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
17 let s:cpo_save = &cpo
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
18 set cpo-=C
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
19
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
20 CompilerSet makeprg=testrb
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4869
diff changeset
21 " CompilerSet makeprg=ruby\ -Itest
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4869
diff changeset
22 " CompilerSet makeprg=m
533
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
23
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
24 CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
25 \%C%m\ [%f:%l]:,
549
e9ddb2181f06 updated for version 7.0155
vimboss
parents: 533
diff changeset
26 \%E\ %\\+%\\d%\\+)\ Error:,
533
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
27 \%C%m:,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
28 \%C\ \ \ \ %f:%l:%.%#,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
29 \%C%m,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
30 \%Z\ %#,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
31 \%-G%.%#
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
32
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
33 let &cpo = s:cpo_save
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
34 unlet s:cpo_save
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
35
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 833
diff changeset
36 " vim: nowrap sw=2 sts=2 ts=8: