(t *testing.T)
| 169 | } |
| 170 | |
| 171 | func TestOptimizeAnd_IdentityTrueLeft(t *testing.T) { |
| 172 | node := and2(boolLit(true), expr("github.event_name == 'issues'")) |
| 173 | assertRender(t, "github.event_name == 'issues'", node, "true && A → A") |
| 174 | } |
| 175 | |
| 176 | func TestOptimizeAnd_IdentityTrueBoth(t *testing.T) { |
| 177 | node := and2(boolLit(true), boolLit(true)) |
nothing calls this directly
no test coverage detected