Skip to content

Commit 59a19f3

Browse files
committed
fix test assert
1 parent cfc36e9 commit 59a19f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/files/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func TestRelease(t *testing.T) {
186186
for batchIdx := range batchSize {
187187
it, err := c.Acquire(ctx, id)
188188
require.NoError(t, err)
189-
require.Equal(t, emptyFS, it)
189+
require.Equal(t, emptyFS, it.FS)
190190
releases[id] = append(releases[id], it.Close)
191191

192192
// Each time a new file is opened, the metrics should be updated as so:

0 commit comments

Comments
 (0)