(t *testing.T)
| 21 | } |
| 22 | |
| 23 | func TestFormatter_ChainedMethods(t *testing.T) { |
| 24 | // Test that methods can be chained together |
| 25 | formatter := NewFormatter().WithBeautify().WithIndent("\t") |
| 26 | require.NotNil(t, formatter) |
| 27 | require.Equal(t, FormatModeBeautify, formatter.mode) |
| 28 | require.Equal(t, "\t", formatter.indent) |
| 29 | } |
| 30 | |
| 31 | func TestFormatter_WithIndent_CustomIndentation(t *testing.T) { |
| 32 | // Test actual formatting with custom indent using parsed SQL |
nothing calls this directly
no test coverage detected
searching dependent graphs…