MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / TestFormatter_WithIndent_Chaining

Function TestFormatter_WithIndent_Chaining

parser/format_test.go:16–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14}
15
16func TestFormatter_WithIndent_Chaining(t *testing.T) {
17 // Test that WithIndent returns the formatter for chaining
18 formatter := NewFormatter().WithIndent(" ")
19 require.NotNil(t, formatter)
20 require.Equal(t, " ", formatter.indent)
21}
22
23func TestFormatter_ChainedMethods(t *testing.T) {
24 // Test that methods can be chained together

Callers

nothing calls this directly

Calls 2

NewFormatterFunction · 0.85
WithIndentMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…