tinyrelaycommit

Commit c4ce05a00a3d

browse files at this commit | history

1diff --git a/internal/webui/agents_test.go b/internal/webui/agents_test.go
2index 078efe7..531e055 100644
3--- a/internal/webui/agents_test.go
4+++ b/internal/webui/agents_test.go
5@@ -177,7 +177,7 @@ func TestAgentStateHelpers(t *testing.T) {
6 {map[string]any{"expires": float64(now + 3600), "lastEvent": float64(now - 60)}, "active", short(now - 60)},
7 {map[string]any{"expires": float64(now + 3600), "paused": true}, "paused", ""},
8 {map[string]any{"expires": float64(now + 3600), "revoked": float64(now - 10)}, "revoked", short(now - 10)},
9- {map[string]any{"expires": float64(now - 10), "paused": true}, "revoked", "expired " + short(now - 10)},
10+ {map[string]any{"expires": float64(now - 10), "paused": true}, "revoked", "expired " + short(now-10)},
11 } {
12 if got := agentState(tc.agent); got != tc.state {
13 t.Errorf("agentState(%v) = %q, want %q", tc.agent, got, tc.state)

About

ownerc01503e8035f
visibilitypublic
headc4ce05a00a3d

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs