diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-06 17:27:58 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-06 17:27:58 +0000 |
| commit | 904404aca04ad3587920b1a90628a8343bf930f5 (patch) | |
| tree | 449e30f756b8267489357d3241fbf517c01d4f6c /test/ruby/test_trace.rb | |
| parent | 19561c2d83aad1817c1dc6909828d84c425a5ed3 (diff) | |
| download | ruby-904404aca04ad3587920b1a90628a8343bf930f5.tar.gz ruby-904404aca04ad3587920b1a90628a8343bf930f5.tar.xz ruby-904404aca04ad3587920b1a90628a8343bf930f5.zip | |
* test/ruby/test_*.rb: assert_same, assert_match, and so on.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_trace.rb')
| -rw-r--r-- | test/ruby/test_trace.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_trace.rb b/test/ruby/test_trace.rb index 4a2e7c4f8..69c0c24fe 100644 --- a/test/ruby/test_trace.rb +++ b/test/ruby/test_trace.rb @@ -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 |
