From: Intransition Date: 2010-05-04T07:39:29+09:00 Subject: Re: Is there likely to be any problem with an embedded assert statement like this? On May 3, 4:07 pm, Xeno Campanoli / Eskimo North and Gmail wrote: > class BaseMenuUnitTests < Test::Unit::TestCase > >      def test_validateNavId >          assert_nothing_raised(Exception) { >              navid = validateNavId(NavTrac,"test_validNavId") >              assert(navid == NavTrac, "validateNavId Return value '#{navid}' > differs from object validated (#{NavTrac}).") >          } >      end > > end > > It is the easiest way I can see to put this together, as long as it doesn't > conflict with some standard or requirement of usage...??? Where's the problem?