TestProgressFlagSignature tests that the progress flag has been removed
(t *testing.T)
| 132 | |
| 133 | // TestProgressFlagSignature tests that the progress flag has been removed |
| 134 | func TestProgressFlagSignature(t *testing.T) { |
| 135 | // Test that functions no longer accept the progress parameter |
| 136 | // This is a compile-time check more than a runtime check |
| 137 | |
| 138 | // RunWorkflowOnGitHub uses RunOptions now |
| 139 | _ = RunWorkflowOnGitHub(context.Background(), "test", RunOptions{}) |
| 140 | |
| 141 | // RunWorkflowsOnGitHub uses RunOptions now |
| 142 | _ = RunWorkflowsOnGitHub(context.Background(), []string{"test"}, RunOptions{}) |
| 143 | |
| 144 | // getLatestWorkflowRunWithRetry should NOT accept progress parameter anymore |
| 145 | _, _ = getLatestWorkflowRunWithRetry("test.lock.yml", "", false) |
| 146 | } |
| 147 | |
| 148 | // TestRefFlagSignature tests that the ref flag is supported |
| 149 | func TestRefFlagSignature(t *testing.T) { |
nothing calls this directly
no test coverage detected