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 ed17596 commit 5896064Copy full SHA for 5896064
setvalidator/values_are_test.go
@@ -22,17 +22,25 @@ func TestValuesAreValidator(t *testing.T) {
22
expectError bool
23
}
24
tests := map[string]testCase{
25
+ "not Set": {
26
+ val: types.Map{
27
+ ElemType: types.StringType,
28
+ },
29
+ expectError: true,
30
31
"Set unknown": {
32
val: types.Set{
- Unknown: true,
33
+ Unknown: true,
34
35
},
- expectError: true,
36
+ expectError: false,
37
38
"Set null": {
39
- Null: true,
40
+ Null: true,
41
42
43
44
45
"Set elems invalid": {
46
0 commit comments