From 419d2d0e45d40a4cddb942fbc63c3c54f4dd479d Mon Sep 17 00:00:00 2001 From: Jelte Fennema-Nio Date: Mon, 19 Feb 2024 16:03:31 +0100 Subject: [PATCH v4 2/5] Include test output files in .editorconfig Most of the time these will be copy pasted from a test run, but if there's a trivial change someone might want to make the change by hand. By adding them to .editorconfig, we make sure that doing so won't mess up the formatting. --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.editorconfig b/.editorconfig index 0e7c2048f9..92a16bd5de 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,3 +27,12 @@ trim_trailing_whitespace = false [src/backend/catalog/sql_features.txt] trim_trailing_whitespace = false + +# Test output files that contain extra whitespace +[*.out] +trim_trailing_whitespace = false +insert_final_newline = unset + +[src/interfaces/ecpg/test/expected/*] +trim_trailing_whitespace = false +insert_final_newline = unset -- 2.34.1