mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
71cd3835bc
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.
15 lines
282 B
Go
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"),
|
|
})
|
|
}
|