# File lib/rspec/core/formatters/base_formatter.rb, line 15
        def self.relative_path(line)
          line = line.sub(File.expand_path("."), ".")
          line = line.sub(/\A([^:]+:\d+)$/, '\\1')
          return nil if line == '-e:1'
          line
        end