diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-17 14:49:07 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-17 14:49:07 +0000 |
commit | 10e6c73f3c0396e641567a09bf5cc326f57244be (patch) | |
tree | da713f5ac0bf866a338410c04502a47cc8e1633a | |
parent | 970ce679ff818f1fee27fd07cb4ed01e9c8cc824 (diff) |
Wed Nov 17 23:42:40 2004 NAKAMURA, Hiroshi <[email protected]>
* test/ruby/test_settracefunc.rb: added. [ruby-dev:24884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_settracefunc.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Nov 17 23:42:40 2004 NAKAMURA, Hiroshi <[email protected]> + + * test/ruby/test_settracefunc.rb: added. [ruby-dev:24884] + Wed Nov 17 13:09:40 2004 NAKAMURA Usaku <[email protected]> * {bcc32,win32,wince}/Makefile.sub (test): should build ruby.exe diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb index 515453245f..f1eb47b759 100644 --- a/test/ruby/test_settracefunc.rb +++ b/test/ruby/test_settracefunc.rb @@ -18,7 +18,7 @@ class TestSetTraceFunc < Test::Unit::TestCase assert_equal(["call", 4], events.shift) # call foo event, lineno = events.shift # return assert_equal("return", event) - assert_equal(4, lineno) # [history] it could not be expected in 1.8 + assert_not_equal(4, lineno)# it should be 4 but cannot be expected in 1.8 assert_equal(["line", 13], events.shift) # line "a" assert_equal(["line", 14], events.shift) # line "set_trace_func nil" assert_equal(["c-call", 14], events.shift) # c-call set_trace_func |