Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042871
en ru br
ALT Linux repos
S:3.1.2-alt2.1
5.0: 1.8.7-alt7
4.1: 1.8.7-alt0.M41.5
4.0: 1.8.6-alt2.M40.2
3.0: 1.8.2-alt7

Group :: Development/Ruby
RPM: ruby

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ruby-1.9.2-alt-check-last-line-not-second.patch
Download


diff --git a/test/test_tracer.rb b/test/test_tracer.rb
index 2580205..aa7a819 100644
--- a/test/test_tracer.rb
+++ b/test/test_tracer.rb
@@ -14,7 +14,7 @@ class TestTracer < Test::Unit::TestCase
       else
         flunk 'unexpected output from `ruby -rtracer -e 1`'
       end
-      assert_equal "#0:-e:1::-: 1", lines[1]
+      assert_equal "#0:-e:1::-: 1", lines[-1]
     end
   end
 end
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin