test-unit/test-unit — pull request #20 by junegunn (2012-02-29 07:16:23+00:00)
Title: Fix for issue #19: JRuby: TypeError: can't convert nil into Float

A test case and a fix for issue #19. The test case will be omitted if not on JRuby.
The fix is a trivial one-liner, breaking out of output_code_snippet when the source code is not accessible.