MCPcopy Create free account
hub / github.com/UiPath/uipathcli / TestInvalidDataTypesShowError

Function TestInvalidDataTypesShowError

test/validation_test.go:106–110  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

104}
105
106func TestInvalidDataTypesShowError(t *testing.T) {
107 t.Run("Integer", func(t *testing.T) { InvalidDataTypeShowsError(t, "integer") })
108 t.Run("Number", func(t *testing.T) { InvalidDataTypeShowsError(t, "number") })
109 t.Run("Boolean", func(t *testing.T) { InvalidDataTypeShowsError(t, "boolean") })
110}
111
112func InvalidDataTypeShowsError(t *testing.T, datatype string) {
113 definition := `

Callers

nothing calls this directly

Calls 2

RunMethod · 0.80

Tested by

no test coverage detected