(t *testing.T)
| 334 | } |
| 335 | |
| 336 | func TestConfigure_Project_Empty(t *testing.T) { |
| 337 | celer := newInitializedCeler(t) |
| 338 | cmd := &configureCmd{} |
| 339 | |
| 340 | // `--project=` (empty value) reaches RunE with the flag marked changed, |
| 341 | // so the project setter is invoked with "" and must reject it. |
| 342 | if _, err := runCommand(t, cmd.Command(celer), "--project="); err == nil { |
| 343 | t.Fatal("it should be failed") |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | func TestConfigure_BuildType_Release(t *testing.T) { |
| 348 | celer := newInitializedCeler(t) |
nothing calls this directly
no test coverage detected