Patches: Browse | Submit New | Admin
So I felt uncomfortable seeing no output at all when all tests pass, and I like to see how many tests I have, how long they took to run, etc. Long story short, I altered the errorformat in compiler/rubyunit.vim thus: CompilerSet errorformat=\%+G%n%m, \%+GFinished%m, \%W\ %\\+%\\d%\\+)\ Failure:, \%C%m\ [%f:%l]:, \%E\ %\\+%\\d%\\+)\ Error:, \%C%m:, \%C\ \ \ \ %f:%l:%.%#, \%C%m, \%Z\ %#, \%-G%.%# I realized the two new lines are interpreted as errors by :gn and :gp but meh. Wolfgang
Add A Comment:
Date: 2007-05-08 18:27 Sender: Wolfgang D Ok, slightly tweaked, first line might be too general: CompilerSet errorformat=\%+G%n\ tests%m, \%+GFinished%m, \%W\ %\\+%\\d%\\+)\ Failure:, \%C%m\ [%f:%l]:, \%E\ %\\+%\\d%\\+)\ Error:, \%C%m:, \%C\ \ \ \ %f:%l:%.%#, \%C%m, \%Z\ %#, \%-G%.%#