mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use Array.Empty
This commit is contained in:
@@ -270,8 +270,7 @@ public abstract class BlockMediaImageTest : BaseMediaImageTest
|
||||
Assert.IsNotNull(plugin, "Could not instantiate filesystem plugin");
|
||||
|
||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
||||
Invoke(new object[]
|
||||
{});
|
||||
Invoke(Array.Empty<object>());
|
||||
|
||||
Assert.IsNotNull(fs, $"Could not instantiate filesystem {pluginName} in {testFile}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user