File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import "strings"
44
55// Set at link time via -ldflags (see .goreleaser.yaml).
66var (
7- Version = "dev0.1.35 "
7+ Version = "dev0.1.36 "
88 Commit = "none"
99 Date = "unknown"
1010)
Original file line number Diff line number Diff line change @@ -117,27 +117,6 @@ func TestSanitizeSessionFilenameRejectsTraversal(t *testing.T) {
117117 }
118118}
119119
120- func TestImportJSONLIntoSQLite (t * testing.T ) {
121- dir := t .TempDir ()
122- jsonlPath := filepath .Join (dir , "default.jsonl" )
123- if err := appendCallLogEntry (jsonlPath , CallLogEntry {
124- ID : "legacy-1" ,
125- StartedAt : "2026-01-01T00:00:01Z" ,
126- Request : CallLogRequest {Method : "POST" , URL : "/a" },
127- }); err != nil {
128- t .Fatal (err )
129- }
130-
131- store := newCallLogStoreAt (dir )
132- entries := store .ListRecent (0 )
133- if len (entries ) != 1 {
134- t .Fatalf ("expected 1 imported entry, got %d" , len (entries ))
135- }
136- if entries [0 ].ID != "legacy-1" {
137- t .Fatalf ("id = %q" , entries [0 ].ID )
138- }
139- }
140-
141120func TestListCallLogSessions (t * testing.T ) {
142121 dir := t .TempDir ()
143122 store := newCallLogStoreAt (dir )
You can’t perform that action at this time.
0 commit comments