CppEditor: Tests: Fix newline handling

removeTrailingWhitespace() appended one '\n' too much. As time went by,
excess '\n' where added to the test code.

* Remove excess '\n'.
* For consistency, ensure that each test code line ends with '\n'.

Change-Id: Ie2d4a1b8b27989f26bf154cb3b891dfb8fe6b2fd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-05-08 12:59:38 -04:00
parent 97869cee61
commit 4dd8a8fdd9
2 changed files with 135 additions and 181 deletions

File diff suppressed because it is too large Load Diff