PATCH: add initial support for parsing Test::Unit errors

Doug Kearns djkea2 at mugca.its.monash.edu.au
Tue May 11 04:05:23 EDT 2004


This is just an initial minor improvement to meet Sam's requirements. ;-)

Regards,
Doug

Index: compiler/rubyunit.vim
===================================================================
RCS file: /var/cvs/vim-ruby/vim-ruby/compiler/rubyunit.vim,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- compiler/rubyunit.vim	1 Apr 2004 10:39:48 -0000	1.1
+++ compiler/rubyunit.vim	11 May 2004 08:29:23 -0000	1.2
@@ -1,7 +1,7 @@
 " Vim compiler file
 " Language:	Test::Unit - Ruby Unit Testing Framework
 " Maintainer:	Doug Kearns <djkea2 at mugca.its.monash.edu.au>
-" Info:		$Id: rubyunit.vim,v 1.1 2004/04/01 10:39:48 dkearns Exp $
+" Info:		$Id: rubyunit.vim,v 1.2 2004/05/11 08:29:23 dkearns Exp $
 " URL:		http://vim-ruby.sourceforge.net
 " Anon CVS:	See above site
 " Licence:	GPL (http://www.gnu.org)
@@ -23,16 +23,16 @@
 setlocal makeprg=ruby
 
 setlocal errorformat=\%Etest%[%^\ ]%#(%[%^\ ]%#)\ [%f:%l]:,
-                     \%Z%m%\\%.,
-                     \%C%m%\\%.,
-                     \%-GLoaded%.%#,
-                     \%-GStarted%.%#,
-                     \%-G%[EF%.]%.%#,
-                     \%-GFinished\ in%.%#,
-                     \%-G\ %\\+%\\d%\\+)\ Failure:,
-                     \%-G\ %\\+%\\d%\\+)\ Error:
+		     \%E\ %\\+%f:%l:in\ %.%#,
+		     \%Z%m%\\%.,
+		     \%-GLoaded%.%#,
+		     \%-GStarted%.%#,
+		     \%-G%[EF%.]%.%#,
+		     \%-GFinished\ in%.%#,
+		     \%-G\ %\\+%\\d%\\+)\ Failure:,
+		     \%-G\ %\\+%\\d%\\+)\ Error:
 
 let &cpo = s:cpo_save
 unlet s:cpo_save
 
-" vim: nowrap tabstop=8 ff=unix
+" vim: nowrap ts=8 ff=unix


More information about the vim-ruby-devel mailing list