mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
fix truncate test cases on Windows
This commit is contained in:
@@ -530,7 +530,7 @@ func TestSetStat(t *testing.T) {
|
||||
})
|
||||
assert.Error(t, err)
|
||||
// truncate
|
||||
err = c.SetStat(filepath.Join(user.GetHomeDir(), "missing"), "/missing", &StatAttributes{
|
||||
err = c.SetStat(filepath.Join(user.GetHomeDir(), "/missing/missing"), "/missing/missing", &StatAttributes{
|
||||
Size: 1,
|
||||
Flags: StatAttrSize,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user