Commit 34b71b4
Tamas Vajk
Use formatted source for compile_data_generated test
The unformatted source caused CI failures:
- --config=rustfmt aspect caught the formatting issue during build
- rustfmt_failure_tester.sh couldn't format it due to norustfmt tag
Use a properly formatted source instead. The test still exercises
the code path where compile_data has a generated file (triggering
transform_sources), verifying that rustfmt correctly finds and
checks the sources rather than silently skipping them.1 parent 8dd4c70 commit 34b71b4
3 files changed
Lines changed: 3 additions & 8 deletions
File tree
- test/rustfmt
- srcs/compile_data_generated
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | | - | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
6 | 3 | | |
0 commit comments