Skip to content

Commit

Permalink
Incorporate review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kislaykishore committed Aug 23, 2024
1 parent c629d89 commit f3446ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/fs/inode/dir_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1442,14 +1442,18 @@ func (t *DirTest) LocalChildFileCore() {
AssertEq(t.bucket.Name(), core.Bucket.Name())
AssertEq("foo/bar/qux", core.FullName.objectName)
AssertTrue(core.Local)
AssertEq(nil, core.MinObject)
result, err := t.in.LookUpChild(t.ctx, "qux")
AssertEq(nil, err)
AssertEq(nil, result)
ExpectEq(metadata.UnknownType, t.getTypeFromCache("qux"))
}

func (t *DirTest) InsertIntoTypeCache() {
t.in.InsertFileIntoTypeCache("abc")
d := t.in.(*dirInode)

d := t.in.(*dirInode)
tp := t.tc.Get(d.cacheClock.Now(), "abc")

AssertEq(2, tp)
}

Expand Down

0 comments on commit f3446ab

Please sign in to comment.