The annotation line's leading whitespace is the base indent
All 4 scenarios hold
The base indent is the indentation of the code surrounding the table; the Indentation rules re-indent the formatted table relative to it. In the Source code column, \n stands for a line break.
expected outcome
broken scenario
| Scenario | Source code | Base indent? |
|---|---|---|
| Top-level annotation | @TableTest("""\nx|y\n1|2\n""") | “” |
| Two-space indented code | @TableTest("""\nx|y\n1|2\n""") | |
| Four-space indented code | @TableTest("""\nx|y\n1|2\n""") | |
| Eight-space indented code | @TableTest("""\nx|y\n1|2\n""") |