Commits

Michael Granger  committed 29c50ac Merge

Merged with github mirror

  • Participants
  • Parent commits 9c6c620, 2ff3592

Comments (0)

Files changed (2)

File data/rspec-formatter-webkit/css/textmate-rspec.css

File contents unchanged.

File lib/rspec/core/formatters/webkit.rb

 		return nil unless line = super
 		return nil if line =~ BACKTRACE_EXCLUDE_PATTERN
 		return h( line.strip ).gsub( /([^:]*\.rb):(\d*)/ ) do
-			"<a href=\"txmt://open?url=file://#{File.expand_path($1)}&amp;line=#{$2}\">#{$1}:#{$2}</a> "
+			"<a href=\"txmt://open?url=file://#{File.expand_path($1.to_s)}&amp;line=#{$2}\">#{$1}:#{$2}</a> "
 		end
 	end