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

Function TestRealWorld_ActivationCheck

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

Source from the content-addressed store, hash-verified

557}
558
559func TestRealWorld_ActivationCheck(t *testing.T) {
560 // needs.activation.outputs.activated == 'true' — simple leaf, no change.
561 node := cmp(prop("needs.activation.outputs.activated"), "==", str("true"))
562 assertRender(t, "needs.activation.outputs.activated == 'true'", node)
563}
564
565func TestRealWorld_ComplexSafeOutputCondition(t *testing.T) {
566 // ((!cancelled()) && (needs.agent.result != 'skipped')) && contains(needs.agent.outputs.output_types, 'push')

Callers

nothing calls this directly

Calls 4

cmpFunction · 0.85
propFunction · 0.85
strFunction · 0.85
assertRenderFunction · 0.85

Tested by

no test coverage detected