mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
16 lines
274 B
Go
16 lines
274 B
Go
|
// +build !windows,!plan9,!js
|
||
|
|
||
|
package eval
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/elves/elvish/pkg/tt"
|
||
|
)
|
||
|
|
||
|
func TestExternalCmdExit_Error(t *testing.T) {
|
||
|
tt.Test(t, tt.Fn("Error", error.Error), tt.Table{
|
||
|
tt.Args(ExternalCmdExit{0, "ls", 100}).Rets("ls exited with 0"),
|
||
|
})
|
||
|
}
|