<raise exceptionName="eyebrow"/>

I think readability suffers when formatting is placed in the message
string (I think the trailing space above, after "equal", is to make the
subsequent error message simpler to program, no?)  The trailing space
looks like a bug to the reader of the source file raising the error, and
it looks like the spaces were not properly inserted in to the reader of
the source file processing the exception.  Perhaps in the future we can
create or find a utility function that would eliminate the need to add
trailing spaces to exception messages and at the same time make printing
of the subsequent error message not so cumbersome.




I think junit will format the error message, and add the '[]' to show the difference between the expected and the source, e.g
expected = "A";
source = "B";

The error message will be "expected [A] but was [B]"

Should be easy to identify the error point.


Thanks for the rest, seems need a grammar check now ;)


James

Reply via email to