(t *testing.T)
| 273 | } |
| 274 | |
| 275 | func TestOptimizeOr_FalseOrTrue(t *testing.T) { |
| 276 | assertRender(t, "true", or2(boolLit(false), boolLit(true)), "false || true → true") |
| 277 | } |
| 278 | |
| 279 | // --------------------------------------------------------------------------- |
| 280 | // OR – idempotent law (A || A → A) |
nothing calls this directly
no test coverage detected