Make assertion more lenient on whitespace due to differences on Windows.