fix(t113): 拿掉「暫停看守」——leo:想不出什麼場景要暫停
同 t101 語意收斂:列入=同步、不要=刪除,沒有暫停態。tray go test 綠。 (實作=子 CC;驗證+commit=總管)
This commit is contained in:
@@ -223,16 +223,6 @@ func TestBuildStatusLabelExtractorOKWithCount(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestBuildStatusLabelStopped:已暫停狀態不受 sync status 影響。
|
||||
func TestBuildStatusLabelStopped(t *testing.T) {
|
||||
s := supervisor.Status{State: supervisor.StateStopped}
|
||||
sync := traySyncStatus{ExtractorOK: false, ExtractorError: "任何錯誤"}
|
||||
got := buildStatusLabel(s, sync, "claude")
|
||||
if got != "已暫停" {
|
||||
t.Errorf("已暫停狀態應回「已暫停」,got=%q", got)
|
||||
}
|
||||
}
|
||||
|
||||
// TestSyncNowSignalPath:syncNowSignalPath 回傳以 sync-now 結尾的路徑(t98)。
|
||||
// tray 寫這個路徑,collector 從 manifest 同目錄讀——路徑語意必須一致。
|
||||
func TestSyncNowSignalPath(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user