(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func TestBreakTimer(t *testing.T) { |
| 96 | output, configuration := setup(t) |
| 97 | configuration.NotifyCommand = "" |
| 98 | configuration.VoiceCommand = "" |
| 99 | |
| 100 | err := startBreakTimer("1", configuration) |
| 101 | |
| 102 | assertNoError(t, err) |
| 103 | assertOutputContains(t, output, "1 min break timer ends at approx.") |
| 104 | assertOutputContains(t, output, "So take a break now! :)") |
| 105 | } |
| 106 | |
| 107 | func TestBreakTimerExportFunction(t *testing.T) { |
| 108 | output, configuration := setup(t) |
nothing calls this directly
no test coverage detected