elvish/pkg/eval/vals/errors_test.go
Kurtis Rader 71cd3835bc Don't dot import pkg/tt
Qualified imports of pkg/tt outnumber unqualified (27 to 24). Improve
consistency, and clarity, by changing the dot (unqualified) imports of
that package symbols to qualified.
2022-06-04 23:39:19 +01:00

15 lines
282 B
Go

package vals
import (
"testing"
"src.elv.sh/pkg/tt"
)
func TestErrors(t *testing.T) {
tt.Test(t, tt.Fn("error.Error", error.Error), tt.Table{
Args(cannotIterate{"num"}).Rets("cannot iterate num"),
Args(cannotIterateKeysOf{"num"}).Rets("cannot iterate keys of num"),
})
}