(t *testing.T)
| 233 | // Expected |
| 234 | case <-time.After(100 * time.Millisecond): |
| 235 | t.Error("WaitAll did not return after children were done") |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | func TestExitCodes(t *testing.T) { |
| 240 | // Verify exit code constants |
| 241 | if ExitSuccess != 0 { |
| 242 | t.Errorf("ExitSuccess should be 0, got %d", ExitSuccess) |
| 243 | } |
| 244 | if ExitError != 1 { |
| 245 | t.Errorf("ExitError should be 1, got %d", ExitError) |
| 246 | } |
| 247 | if ExitAuthFailure != 10 { |
| 248 | t.Errorf("ExitAuthFailure should be 10, got %d", ExitAuthFailure) |
| 249 | } |
nothing calls this directly
no outgoing calls
no test coverage detected