Skip to content

Commit c954280

Browse files
author
Meir Kriheli
committed
split variables
1 parent c815cd0 commit c954280

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/protobuf-net.Grpc.Reflection.Test/SchemaGeneration.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ public void CompareRouteTable(Type type)
156156
}
157157
viaSchema.Sort();
158158

159-
Assert.Equal(string.Join(Environment.NewLine, viaBinder), string.Join(Environment.NewLine, viaSchema));
159+
var routeTableViaBinder = string.Join(Environment.NewLine, viaBinder);
160+
var routeTableViaSchame = string.Join(Environment.NewLine, viaSchema);
161+
Assert.Equal(routeTableViaBinder, routeTableViaSchame);
160162

161163
}
162164

@@ -196,7 +198,7 @@ public interface IMyInheritedService : ISomeInheritableGenericService<MyRequest,
196198
void InheritedSyncEmpty();
197199
}
198200

199-
[ServiceInheritable]
201+
[ServiceInheritable][Service]
200202
public interface ISecondLevelInheritable : ISomeInheritableGenericService<MyRequest, MyResponse>, INotAService
201203
{
202204
ValueTask<MyResponse> InheritedUnary(MyRequest request, CallContext callContext = default);

0 commit comments

Comments
 (0)