(no ticket) netstd testcase for THRIFT-5835
Client: netstd
Patch: Jens Geyer
diff --git a/lib/netstd/Tests/Thrift.Tests/DataModel/ExceptionAsStruct.cs b/lib/netstd/Tests/Thrift.Tests/DataModel/ExceptionAsStruct.cs
index 8b9490b..70486bd 100644
--- a/lib/netstd/Tests/Thrift.Tests/DataModel/ExceptionAsStruct.cs
+++ b/lib/netstd/Tests/Thrift.Tests/DataModel/ExceptionAsStruct.cs
@@ -42,9 +42,9 @@
VerifyIdenticalContent(checking, initial);
}
- private string FormatKey(int i) => $"Test {i}";
+ private static string FormatKey(int i) => $"Test {i}";
- private BatchGetResponse CreateInitialData()
+ private static BatchGetResponse CreateInitialData()
{
var initial = new BatchGetResponse()
{
@@ -63,7 +63,7 @@
return initial;
}
- private async Task<T> WriteAndReadBack<T>(T input) where T : TBase,new()
+ private static async Task<T> WriteAndReadBack<T>(T input) where T : TBase,new()
{
var stream = new MemoryStream();
var config = new TConfiguration();
@@ -83,7 +83,7 @@
return output;
}
- private void VerifyIdenticalContent(BatchGetResponse left, BatchGetResponse right)
+ private static void VerifyIdenticalContent(BatchGetResponse left, BatchGetResponse right)
{
// Errors
Assert.IsNotNull(left.Errors);