* test/ruby/test_*.rb: assert_same, assert_match, and so on.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2003-09-06 17:27:58 +00:00
parent d7c5b0518a
commit a7357c1965
10 changed files with 29 additions and 29 deletions

View file

@ -9,15 +9,15 @@ class TestTrace < Test::Unit::TestCase
trace_var :$x, proc{$y = $x}
$x = 40414
assert_equal($x, $y)
untrace_var :$x
$x = 19660208
assert($y != $x)
assert_not_equal($x, $y)
trace_var :$x, proc{$x *= 2}
$x = 5
assert_equal(10, $x)
untrace_var :$x
end
end