INNER CODE UNIT · Go
TestAnalyzePathWithDepthFromStorage
dundee/gdu · report/export_storage_test.go:76
func TestAnalyzePathWithDepthFromStorage(t *testing.T) {
report := assertStorageExportMatchesPlain(t, analyze.CreateStoredAnalyzer(t.TempDir()), 1, false)
assert.Contains(t, report, `"name":"nested"`)
}
func TestAnalyzePathWithSummarizeFromSqliteStorage(t *testing.T) {
assertStorageExportMatchesPlain(t, createSqliteAnalyzer(t), 0, true)
}
func TestAnalyzePathWithDepthFromSqliteStorage(t *testing.T) {
report := assertStorageExportMatchesPlain(t, createSqliteAnalyzer(t), 1, false)
assert.Contains(t, report, `"name":"nested"`)
}