test/unit/test-trace-hook.rb in rb-trace-0.5 vs test/unit/test-trace-hook.rb in rb-trace-0.6
- old
+ new
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
require 'test/unit'
-require_relative '../../ext/trace'
+require_relative '../../ext/trace' if '1.9.2' == RUBY_VERSION
# Testing RubyVM::TraceHook
class TestTraceHook < Test::Unit::TestCase
def setup