elvish/pkg/eval/vals/len_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
182 B
Go

package vals
import (
"testing"
"src.elv.sh/pkg/tt"
)
func TestLen(t *testing.T) {
tt.Test(t, tt.Fn("Len", Len), tt.Table{
Args("foobar").Rets(6),
Args(10).Rets(-1),
})
}