We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91e061a commit fb139d3Copy full SHA for fb139d3
1 file changed
internal/claude/active_live_activetime_test.go
@@ -1,8 +1,6 @@
1
package claude
2
3
import (
4
- "encoding/json"
5
- "fmt"
6
"os"
7
"path/filepath"
8
"testing"
@@ -130,7 +128,7 @@ func TestParseLiveActiveTime_MultipleResumptions(t *testing.T) {
130
128
t.Fatalf("expected ActiveMinutes~3, got %f", stats.ActiveMinutes)
131
129
}
132
133
- _ = fmt.Sprintf("") // keep fmt import for writeLiveJSONL's json.Marshal usage
+
134
135
136
func TestParseLiveActiveTime_ExactThreshold(t *testing.T) {
@@ -156,5 +154,3 @@ func TestParseLiveActiveTime_ExactThreshold(t *testing.T) {
156
154
// mkAssistantWithUsage helper uses the one from active_live_context_test.go.
157
155
// Both are accessible since this is in the same test package.
158
159
-// Ensure json import is used (needed by writeLiveJSONL indirectly).
160
-var _ = json.Marshal
0 commit comments