Build/Test Issues

Underscores are not visible in the NCrunch log window

Started by abelb on 6,034 views

See image. If I copy the text to an editor, the text is (two underscores):

"Expected: File 'result1_2.xml' should_exist"

This often causes us confusion, for instance with typenames that end up in the log and have underscores, but more importantly, path names or strings that are compared and suddenly have spaces. In the screenshot, the text " HG-ALL " is in fact "__HG-ALL__". Also, when I select the text, the redrawing or coloring does not reveal that there are actual underscores.

External image
This is a rendering issue that appears on some systems. I'm not sure what causes it. Does changing the text output window font in your global configuration resolve this problem for you?
Changing the font does resolve this issue. I was using Courier New 8.25, I changed this to Consolas 8.25 and it now prints the underscores.

Post a reply

Log in to reply.