cache: Fix test for new behavior

Accessing beyond the end of the file now removes the file from the cache
because it is assumed to be truncated. Usually, this means that the data
is fetched directly from the backend instead.
This commit is contained in:
Alexander Neumann 2018-08-11 23:11:51 +02:00
parent 04f7c054cd
commit 0f83fea007
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ func TestFileLoad(t *testing.T) {
{32*1024 + 5, 0},
{0, 123},
{0, 64*1024 + 234},
{100, 5234142},
{100, 5234142 - 100},
}
for _, test := range tests {