- commit
- c4ce05a00a3dffecd99515e8aa1743d0bba3bce1
- parent
- 7141aee15fbcd43d4073dc82d2589a8a6a26cb4c
- author
- Dami <dami.etoile@gmail.com>
| M | internal/ | 2 | +- |
@@ -177,7 +177,7 @@ func TestAgentStateHelpers(t *testing.T) {
177177 {map[string]any{"expires": float64(now + 3600), "lastEvent": float64(now - 60)}, "active", short(now - 60)},178178 {map[string]any{"expires": float64(now + 3600), "paused": true}, "paused", ""},179179 {map[string]any{"expires": float64(now + 3600), "revoked": float64(now - 10)}, "revoked", short(now - 10)},180- {map[string]any{"expires": float64(now - 10), "paused": true}, "revoked", "expired " + short(now - 10)},180+ {map[string]any{"expires": float64(now - 10), "paused": true}, "revoked", "expired " + short(now-10)},181181 } {182182 if got := agentState(tc.agent); got != tc.state {183183 t.Errorf("agentState(%v) = %q, want %q", tc.agent, got, tc.state)