class Rails::TestUnit::TestParser

def on_def(begin_line, *)

instead.
name, which we have overridden to return the line number of the ident
This event's first argument gets the `ident` node containing the method
method test e.g. `def test_some_description`
def on_def(begin_line, *)
  @begins_to_ends[begin_line] = lineno
end