mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
15 lines
275 B
Go
15 lines
275 B
Go
package vals
|
|
|
|
import (
|
|
"testing"
|
|
|
|
. "src.elv.sh/pkg/tt"
|
|
)
|
|
|
|
func TestErrors(t *testing.T) {
|
|
Test(t, Fn("error.Error", error.Error), Table{
|
|
Args(cannotIterate{"num"}).Rets("cannot iterate num"),
|
|
Args(cannotIterateKeysOf{"num"}).Rets("cannot iterate keys of num"),
|
|
})
|
|
}
|