Skip to content

Commit f43e3e2

Browse files
committed
Fix ignored tests for formatting
1 parent d6d3b34 commit f43e3e2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rustfmt.toml

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ ignore = [
1313

1414
# tests for now are not formatted, as they are sometimes pretty-printing constrained
1515
# (and generally rustfmt can move around comments in UI-testing incompatible ways)
16+
"/tests/*",
17+
18+
# but we still want to format rmake.rs files in tests/run-make/ so we need to do this
19+
# dance to avoid the parent directory from being excluded
20+
"!/tests/run-make/",
21+
"/tests/run-make/*/*.rs",
1622
"!/tests/run-make/*/rmake.rs",
1723

1824
# do not format submodules

0 commit comments

Comments
 (0)