Skip to content

Commit 504a2c1

Browse files
committed
editorconfig: don't trim trailing whitespace in tests
1 parent 9ba00e0 commit 504a2c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ root = true
77
[*]
88
end_of_line = lf
99
charset = utf-8
10-
trim_trailing_whitespace = true
1110
insert_final_newline = true
1211

12+
# some tests need trailing whitespace in output snapshots
13+
[!tests/]
14+
trim_trailing_whitespace = true
15+
1316
[!src/llvm-project]
1417
indent_style = space
1518
indent_size = 4

0 commit comments

Comments
 (0)