TestInputFlagSignature tests that the inputs parameter is supported
(t *testing.T)
| 172 | |
| 173 | // TestInputFlagSignature tests that the inputs parameter is supported |
| 174 | func TestInputFlagSignature(t *testing.T) { |
| 175 | // Test that RunWorkflowOnGitHub accepts inputs parameter |
| 176 | // This is a compile-time check that ensures the inputs parameter exists |
| 177 | _ = RunWorkflowOnGitHub(context.Background(), "test", RunOptions{Inputs: []string{"key=value"}}) |
| 178 | |
| 179 | // Test that RunWorkflowsOnGitHub accepts inputs parameter |
| 180 | _ = RunWorkflowsOnGitHub(context.Background(), []string{"test"}, RunOptions{Inputs: []string{"key=value"}}) |
| 181 | } |
| 182 | |
| 183 | // TestInputValidation tests that input validation works correctly |
| 184 | func TestInputValidation(t *testing.T) { |
nothing calls this directly
no test coverage detected