]> git.giacomolli.uk - onechat/blobdiff - daemon_test.go
Parse cron expressions and find the next time
[onechat] / daemon_test.go
index 4b0ba0a1238a6c4850dd6216825863e82836cec3..8bc8c6e9c3f290a5af3579556e55792ccc305360 100644 (file)
@@ -36,6 +36,8 @@ func TestClientsSeeTheTurnAsItHappens(t *testing.T) {
 
        first.Type(stopCommand)
        first.WaitFor(t, "[error] no turn runs")
 
        first.Type(stopCommand)
        first.WaitFor(t, "[error] no turn runs")
+       first.Type(stopCommand + " BlueFox")
+       first.WaitFor(t, "[error] no subagent BlueFox runs")
        require.NotContains(t, second.Output(), "no turn runs")
        require.NoError(t, first.Close())
 }
        require.NotContains(t, second.Output(), "no turn runs")
        require.NoError(t, first.Close())
 }