Commit e3560a2
committed
docs(lint): fix backwards field-order description in File's layout test
Round-2 code review flagged that TestFile_SizeBudget's comment
described the trailing scalar order as "the two 8-byte scalars next,
the two byte-sized bools last", the opposite of what file.go actually
declares (StripFrontMatter, DryRun, then LineOffset, MaxInputBytes).
Fix the comment to match the real layout.1 parent 794c48e commit e3560a2
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments