From: JSW Date: 2005-11-21T00:42:23+09:00 Subject: problems with Tests that fail and prettyprint It may be an artifact of my installation (Ruby 1.8.2 on Windows) but when my tests fail, Ruby throws an excpetion in prettyprint. It doesn't seem to what what the types of the values are when the assertion fails (strings, integer, or my own types), I always get the same exception and then prettyprinter is broken to the end of the entire testsuite. Any suggestions? Here's the test results: Loaded suite db2-test Started date result was 2005-1-2 E..... Finished in 1.187 seconds. 1) Error: test_DB2_date(TestDB2): TypeError: wrong argument type # (expected Data) C:/ruby/lib/ruby/1.8/prettyprint.rb:308 C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__' C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require' C:/ruby/lib/ruby/1.8/pp.rb:149 C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__' C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require' db2-test.rb:72:in `test_DB2_date' 6 tests, 24 assertions, 0 failures, 1 errors and the test code: require 'dbi' require 'test/unit' require 'DB2V8_Helper' class TestDB2