We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 013ecc8 commit 4c34410Copy full SHA for 4c34410
listvalidator/values_are_test.go
@@ -22,17 +22,25 @@ func TestValuesAreValidator(t *testing.T) {
22
expectError bool
23
}
24
tests := map[string]testCase{
25
+ "not List": {
26
+ val: types.Set{
27
+ ElemType: types.StringType,
28
+ },
29
+ expectError: true,
30
31
"List unknown": {
32
val: types.List{
- Unknown: true,
33
+ Unknown: true,
34
35
},
- expectError: true,
36
+ expectError: false,
37
38
"List null": {
39
- Null: true,
40
+ Null: true,
41
42
43
44
45
"List elems invalid": {
46
0 commit comments