--------------------------------------------------------------------------- Nil / leaf nodes ---------------------------------------------------------------------------
(t *testing.T)
| 64 | // --------------------------------------------------------------------------- |
| 65 | |
| 66 | func TestOptimizeExpression_NilInput(t *testing.T) { |
| 67 | result := OptimizeExpression(nil) |
| 68 | assert.Nil(t, result, "nil input should return nil") |
| 69 | } |
| 70 | |
| 71 | func TestOptimizeExpression_ExpressionNode(t *testing.T) { |
| 72 | node := expr("github.event_name == 'issues'") |
nothing calls this directly
no test coverage detected