-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathnullAssignability.baseline
More file actions
64 lines (52 loc) · 1.55 KB
/
nullAssignability.baseline
File metadata and controls
64 lines (52 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Source: TestAllTypes{single_int64_wrapper: null}.single_int64_wrapper == null
=====>
bindings: {}
result: true
Source: TestAllTypes{}.single_int64_wrapper == null
=====>
bindings: {}
result: true
Source: has(TestAllTypes{single_int64_wrapper: null}.single_int64_wrapper)
=====>
bindings: {}
result: false
Source: TestAllTypes{single_value: null}.single_value == null
=====>
bindings: {}
result: true
Source: has(TestAllTypes{single_value: null}.single_value)
=====>
bindings: {}
result: true
Source: TestAllTypes{single_timestamp: null}.single_timestamp == timestamp(0)
=====>
bindings: {}
result: true
Source: has(TestAllTypes{single_timestamp: null}.single_timestamp)
=====>
bindings: {}
result: false
Source: TestAllTypes{repeated_timestamp: [timestamp(1), null]}.repeated_timestamp == [timestamp(1)]
=====>
bindings: {}
result: true
Source: TestAllTypes{map_bool_timestamp: {true: null, false: timestamp(1)}}.map_bool_timestamp == {false: timestamp(1)}
=====>
bindings: {}
result: true
Source: TestAllTypes{repeated_any: [1, null]}.repeated_any == [1, null]
=====>
bindings: {}
result: true
Source: TestAllTypes{map_bool_any: {true: null, false: 1}}.map_bool_any == {true: null, false: 1}
=====>
bindings: {}
result: true
Source: TestAllTypes{repeated_value: [google.protobuf.Value{bool_value: true}, null]}.repeated_value == [true, null]
=====>
bindings: {}
result: true
Source: TestAllTypes{map_bool_value: {true: null, false: google.protobuf.Value{bool_value: true}}}.map_bool_value == {true: null, false: true}
=====>
bindings: {}
result: true