MCPcopy Create free account
hub / github.com/github/gh-aw / TestOptimizeOr_IdentityFalseBoth

Function TestOptimizeOr_IdentityFalseBoth

pkg/workflow/expression_optimizer_test.go:253–255  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

251}
252
253func TestOptimizeOr_IdentityFalseBoth(t *testing.T) {
254 assertRender(t, "false", or2(boolLit(false), boolLit(false)), "false || false → false")
255}
256
257// ---------------------------------------------------------------------------
258// OR – boolean annihilation (A || true → true)

Callers

nothing calls this directly

Calls 3

assertRenderFunction · 0.85
or2Function · 0.85
boolLitFunction · 0.85

Tested by

no test coverage detected