src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/eval/vals/len_test.go (about)

     1  package vals
     2  
     3  import (
     4  	"testing"
     5  
     6  	"src.elv.sh/pkg/tt"
     7  )
     8  
     9  func TestLen(t *testing.T) {
    10  	tt.Test(t, Len,
    11  		Args("foobar").Rets(6),
    12  		Args(10).Rets(-1),
    13  	)
    14  }