(t *testing.T)
| 434 | } |
| 435 | |
| 436 | func TestSetMobDoneSquash(t *testing.T) { |
| 437 | configuration := GetDefaultConfiguration() |
| 438 | configuration.DoneSquash = Squash |
| 439 | |
| 440 | setMobDoneSquash(&configuration, "", "no-squash") |
| 441 | test.Equals(t, NoSquash, configuration.DoneSquash) |
| 442 | |
| 443 | setMobDoneSquash(&configuration, "", "squash") |
| 444 | test.Equals(t, Squash, configuration.DoneSquash) |
| 445 | |
| 446 | setMobDoneSquash(&configuration, "", "squash-wip") |
| 447 | test.Equals(t, SquashWip, configuration.DoneSquash) |
| 448 | } |
| 449 | |
| 450 | func TestSetMobDoneSquashGarbageValue(t *testing.T) { |
| 451 | configuration := GetDefaultConfiguration() |
nothing calls this directly
no test coverage detected