From: 7stud -- Date: 2007-09-29T22:02:17+09:00 Subject: unit testing: example p. 156 pickaxe2 How do you make this example fail: require "test/unit" class TestsWhichFail < Test::Unit::TestCase def test_reading assert_not_nil(ARGF.read, "Read next line of input") end end I tried specifying an empty file on the command line, no file, a file with two words in it, and a file that doesn't exist, but I can't get it to fail. Yet, the output in the book shows: 1 tests, 1 assertions, 1 failures, 0 errors -- Posted via http://www.ruby-forum.com/.