mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
pkg/eval/exc: Add missing unit tests for exc:is-pipeline-exc.
This commit is contained in:
parent
df6d741217
commit
ff16eda59f
|
@ -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),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user