Apply the pre-commit hook whitespace fixes to all files in the repo. (Line endings, blank lines at end of file, trailing whitespace)
* Added corresponding test case * Moved all C++ init tests to separate file Closes https://github.com/espressif/esp-idf/issues/5038