test/tc/eq.rb in rio-0.4.2 vs test/tc/eq.rb in rio-0.5.1
- old
+ new
@@ -3,11 +3,11 @@
Dir.chdir File.dirname(__FILE__)+'/../'
$:.unshift File.expand_path('../lib/')
end
require 'rio'
require 'test/unit'
-require 'test/unit/testsuite'
+#require 'test/unit/testsuite'
class TC_RIO_eq < Test::Unit::TestCase
def assert_case_equal(q,p,msg=nil)
begin
assert_block {
@@ -54,10 +54,10 @@
end
def test_eq
s_dir = ''
#$trace_states = true
- rio(%w/qp eq/).rmtree.mkpath.chdir do
+ rio($QPDIR,%w/eq/).rmtree.mkpath.chdir do
q1 = 'q'
q2 = 'q'
all_eq(q1,q2)
#$trace_states = true
all_eq(?-,'stdio:')