(t *testing.T)
| 26 | ) |
| 27 | |
| 28 | func TestConfig(t *testing.T) { |
| 29 | tests := []string{ |
| 30 | `name: hello`, |
| 31 | `description: empty`, |
| 32 | `container: pb.pkg`, |
| 33 | ` |
| 34 | extensions: |
| 35 | - name: "bindings" |
| 36 | - name: "encoders" |
| 37 | - name: "lists" |
| 38 | - name: "math" |
| 39 | - name: "optional" |
| 40 | - name: "protos" |
| 41 | - name: "sets" |
| 42 | - name: "strings" |
| 43 | version: 1`, |
| 44 | ` |
| 45 | functions: |
| 46 | - name: "coalesce" |
| 47 | overloads: |
| 48 | - id: "null_coalesce_int" |
| 49 | target: |
| 50 | type_name: "null_type" |
| 51 | args: |
| 52 | - type_name: "int" |
| 53 | return: |
| 54 | type_name: "int" |
| 55 | - id: "coalesce_null_int" |
| 56 | args: |
| 57 | - type_name: "null_type" |
| 58 | - type_name: "int" |
| 59 | return: |
| 60 | type_name: "int" |
| 61 | - id: "int_coalesce_int" |
| 62 | target: |
| 63 | type_name: "int" |
| 64 | args: |
| 65 | - type_name: "int" |
| 66 | return: |
| 67 | type_name: "int" |
| 68 | - id: "optional_T_coalesce_T" |
| 69 | target: |
| 70 | type_name: "optional_type" |
| 71 | params: |
| 72 | - type_name: "T" |
| 73 | is_type_param: true |
| 74 | args: |
| 75 | - type_name: "T" |
| 76 | is_type_param: true |
| 77 | return: |
| 78 | type_name: "T" |
| 79 | is_type_param: true |
| 80 | `, |
| 81 | ` |
| 82 | variables: |
| 83 | - name: "request" |
| 84 | type: |
| 85 | type_name: "map" |
nothing calls this directly
no test coverage detected