(t *testing.T)
| 570 | } |
| 571 | |
| 572 | func TestRequestWithPathParameterDataTypes(t *testing.T) { |
| 573 | t.Run("String", func(t *testing.T) { RequestWithPathParameterDataType(t, "string", "myvalue", "myvalue") }) |
| 574 | t.Run("Integer", func(t *testing.T) { RequestWithPathParameterDataType(t, "integer", "0", "0") }) |
| 575 | t.Run("Number", func(t *testing.T) { RequestWithPathParameterDataType(t, "number", "0.5", "0.5") }) |
| 576 | t.Run("Boolean", func(t *testing.T) { RequestWithPathParameterDataType(t, "boolean", "true", "true") }) |
| 577 | } |
| 578 | |
| 579 | func RequestWithPathParameterDataType(t *testing.T, datatype string, argument string, value string) { |
| 580 | definition := ` |
nothing calls this directly
no test coverage detected