MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / TestRenderCreateTable_Nil

Function TestRenderCreateTable_Nil

pkg/formatter/render_test.go:374–379  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

372}
373
374func TestRenderCreateTable_Nil(t *testing.T) {
375 var stmt *ast.CreateTableStatement
376 if fmtStmt(stmt, ast.CompactStyle()) != "" {
377 t.Error("nil should return empty string")
378 }
379}
380
381func TestRenderFormatWithTabs(t *testing.T) {
382 stmt := &ast.CreateTableStatement{

Callers

nothing calls this directly

Calls 3

CompactStyleFunction · 0.92
fmtStmtFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected