|
From: <mir...@us...> - 2006-09-10 01:11:20
|
Revision: 1611
http://svn.sourceforge.net/rubyeclipse/?rev=1611&view=rev
Author: mirkostocker
Date: 2006-09-09 18:11:13 -0700 (Sat, 09 Sep 2006)
Log Message:
-----------
applied japgolly's patch for ticket #80
Modified Paths:
--------------
trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb
Modified: trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb
===================================================================
--- trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb 2006-09-07 22:26:47 UTC (rev 1610)
+++ trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb 2006-09-10 01:11:13 UTC (rev 1611)
@@ -127,9 +127,10 @@
end
def get_location(location)
+ location= location.join("\n") if location.is_a?(Array)
openingBracket = location.index('[')
if openingBracket
- return location[location.index('[') + 1, location.index(']') - 1].chop
+ return location[openingBracket + 1, location.index(']') - openingBracket].chop
else
# the stack trace from ruby 1.8.2 pre 3 on windows is formatted like follows:
# file:lineNo:in 'methodName'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|