pkg/eval/exc: Add missing unit tests for exc:is-pipeline-exc.

This commit is contained in:
Qi Xiao 2020-06-24 22:41:59 +01:00
parent df6d741217
commit ff16eda59f

View File

@ -25,5 +25,8 @@ func TestExc(t *testing.T) {
That("exc:is-fail-exc ?(fail bad)").Puts(true),
That("exc:is-fail-exc ?("+failingExternalCmd+")").Puts(false),
That("exc:is-pipeline-exc ?(fail bad)").Puts(false),
That("exc:is-pipeline-exc ?(fail 1 | fail 2)").Puts(true),
)
}