Is there likely to be any problem with an embedded assert statement like this?

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…???

xc

On May 3, 4:07 pm, Xeno C. / Eskimo North and Gmail
[email protected] wrote:

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?