Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTypes_ListType (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/types_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cel
    
    import (
    	"testing"
    )
    
    func TestTypes_ListType(t *testing.T) {
    	list := NewListType(StringType, -1)
    	if !list.IsList() {
    		t.Error("list type not identifiable as list")
    	}
    	if list.TypeName() != "list" {
    		t.Errorf("got %s, wanted list", list.TypeName())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top