Builiding NAnt 0.8.4 cause a test to fail in Tests.NAnt.Console. Test_ShowHelp()

The problem is that it checks to see that the copyright year is the same as the current one, while the copyright notice produce 2003.

A better approach would be to use this test:

Assertion.Assert("Year cannot be in the future", DateTime.Now.Year >= year);

 

Or, fix the copyright notice.

--

Ayende Rahien

 

 

Reply via email to