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

Function TestRenderCase_Nil

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

Source from the content-addressed store, hash-verified

881}
882
883func TestRenderCase_Nil(t *testing.T) {
884 var expr *ast.CaseExpression
885 if fmtExpr(expr, ast.CompactStyle()) != "" {
886 t.Error("nil should return empty string")
887 }
888}
889
890func TestRenderCase_LowerKeywords(t *testing.T) {
891 expr := &ast.CaseExpression{

Callers

nothing calls this directly

Calls 3

CompactStyleFunction · 0.92
fmtExprFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected