mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use Array.Empty<T>.
This commit is contained in:
@@ -213,7 +213,7 @@ namespace Aaru.Tests.Issues
|
||||
|
||||
expectedXattrs.Remove(xattr);
|
||||
|
||||
byte[] xattrBuf = new byte[0];
|
||||
byte[] xattrBuf = Array.Empty<byte>();
|
||||
error = fs.GetXattr(path + "/" + entry, xattr, ref xattrBuf);
|
||||
|
||||
Assert.AreEqual(Errno.NoError, error,
|
||||
@@ -230,7 +230,7 @@ namespace Aaru.Tests.Issues
|
||||
expectedXattrs);
|
||||
}
|
||||
|
||||
byte[] outBuf = new byte[0];
|
||||
byte[] outBuf = Array.Empty<byte>();
|
||||
|
||||
error = fs.Read(path + "/" + entry, 0, stat.Length, ref outBuf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user