mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
🐛Fix static method on hashes not being declared as such.
This commit is contained in:
@@ -53,11 +53,11 @@ namespace DiscImageChef.Tests.Filters
|
||||
public void CheckCorrectFile()
|
||||
{
|
||||
Md5Context ctx = new Md5Context();
|
||||
string result = ctx.File(location, out _);
|
||||
string result = Md5Context.File(location, out _);
|
||||
Assert.AreEqual(EXPECTED_FILE, result);
|
||||
|
||||
ctx = new Md5Context();
|
||||
result = ctx.File(sidecar, out _);
|
||||
result = Md5Context.File(sidecar, out _);
|
||||
Assert.AreEqual(EXPECTED_SIDECAR, result);
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace DiscImageChef.Tests.Filters
|
||||
str.Dispose();
|
||||
filter.Close();
|
||||
Md5Context ctx = new Md5Context();
|
||||
string result = ctx.Data(data, out _);
|
||||
string result = Md5Context.Data(data, out _);
|
||||
Assert.AreEqual(EXPECTED_CONTENTS, result);
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace DiscImageChef.Tests.Filters
|
||||
str.Dispose();
|
||||
filter.Close();
|
||||
Md5Context ctx = new Md5Context();
|
||||
string result = ctx.Data(data, out _);
|
||||
string result = Md5Context.Data(data, out _);
|
||||
Assert.AreEqual(EXPECTED_RESOURCE, result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user