mirror of
https://github.com/restic/restic.git
synced 2026-11-15 18:36:45 +00:00
fs: unexport isListxattrPermissionError
This commit is contained in:
1 parent
80ed863aab
commit
263709da8c
5 files changed
+10
-10
No files matched your search
@@ -19,10 +19,10 @@ func TestIsListxattrPermissionError(t *testing.T) {
|
||||
}
|
||||
err := handleXattrErr(xerr)
|
||||
rtest.Assert(t, err != nil, "missing error")
|
||||
rtest.Assert(t, IsListxattrPermissionError(err), "expected IsListxattrPermissionError to return true for %v", err)
|
||||
rtest.Assert(t, isListxattrPermissionError(err), "expected IsListxattrPermissionError to return true for %v", err)
|
||||
|
||||
xerr.Err = os.ErrNotExist
|
||||
err = handleXattrErr(xerr)
|
||||
rtest.Assert(t, err != nil, "missing error")
|
||||
rtest.Assert(t, !IsListxattrPermissionError(err), "expected IsListxattrPermissionError to return false for %v", err)
|
||||
rtest.Assert(t, !isListxattrPermissionError(err), "expected IsListxattrPermissionError to return false for %v", err)
|
||||
}
|
||||
Reference in new issue
Block a user