1" Vim compiler file
2" Language:		Test::Unit - Ruby Unit Testing Framework
3" Maintainer:		Doug Kearns <[email protected]>
4" URL:			https://github.com/vim-ruby/vim-ruby
5" Release Coordinator:	Doug Kearns <[email protected]>
6
7if exists("current_compiler")
8  finish
9endif
10let current_compiler = "rubyunit"
11
12if exists(":CompilerSet") != 2		" older Vim always used :setlocal
13  command -nargs=* CompilerSet setlocal <args>
14endif
15
16let s:cpo_save = &cpo
17set cpo-=C
18
19CompilerSet makeprg=testrb
20
21CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
22			\%C%m\ [%f:%l]:,
23			\%E\ %\\+%\\d%\\+)\ Error:,
24			\%C%m:,
25			\%C\ \ \ \ %f:%l:%.%#,
26			\%C%m,
27			\%Z\ %#,
28			\%-G%.%#
29
30let &cpo = s:cpo_save
31unlet s:cpo_save
32
33" vim: nowrap sw=2 sts=2 ts=8:
34