Skip to content

Commit 3ba30d5

Browse files
committed
Rebuild Gemini Takeout parsing around the document tree
1 parent 062faf5 commit 3ba30d5

3 files changed

Lines changed: 328 additions & 891 deletions

File tree

internal/importer/gemini_apps_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ func TestImportGeminiAppsUnknownZoneDoesNotWriteSession(t *testing.T) {
143143

144144
d := testDB(t)
145145
stats, err := ImportGeminiApps(context.Background(), d, root, nil)
146-
assert.ErrorContains(t, err, "no admissible Prompted records")
147-
assert.Equal(t, 1, stats.Errors)
146+
assert.Error(t, err)
147+
assert.Zero(t, stats.Errors)
148148
page, listErr := d.ListSessions(context.Background(), db.SessionFilter{Agent: "gemini-apps"})
149149
require.NoError(t, listErr)
150150
assert.Empty(t, page.Sessions)

0 commit comments

Comments
 (0)