Skip to content

Commit 913a8f1

Browse files
committed
Fixup
1 parent bcce1ea commit 913a8f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Components/Server/src/BlazorPack/BlazorPackHubProtocol.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ internal sealed class BlazorPackHubProtocol : IHubProtocol
4242
public TransferFormat TransferFormat => TransferFormat.Binary;
4343

4444
/// <inheritdoc />
45-
public virtual bool IsVersionSupported(int version)
45+
public bool IsVersionSupported(int version)
4646
{
4747
return version == Version;
4848
}

src/SignalR/common/SignalR.Common/test/Internal/Protocol/MessagePackHubProtocolTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static IEnumerable<object[]> TestDataNames
111111
message: CompletionMessage.WithResult("xyz", payload: TestEnum.One),
112112
binary: "lQOAo3h5egOjT25l"),
113113

114-
// Invocation messages
114+
// Invocation messages
115115
new ProtocolTestData(
116116
name: "InvocationWithNoHeadersNoIdAndSingleNullArg",
117117
message: new InvocationMessage("method", new object[] { null }),
@@ -120,7 +120,7 @@ public static IEnumerable<object[]> TestDataNames
120120
name: "InvocationWithNoHeadersNoIdIntAndEnumArgs",
121121
message: new InvocationMessage("method", new object[] { 42, TestEnum.One }),
122122
binary: "lgGAwKZtZXRob2SSKqNPbmWQ"),
123-
new ProtocolTestData(
123+
new ProtocolTestData(
124124
name: "InvocationWithNoHeadersNoIdAndCustomObjectArg",
125125
message: new InvocationMessage("method", new object[] { 42, "string", new CustomObject() }),
126126
binary: "lgGAwKZtZXRob2STKqZzdHJpbmeGqlN0cmluZ1Byb3CoU2lnbmFsUiGqRG91YmxlUHJvcMtAGSH7VELPEqdJbnRQcm9wKqxEYXRlVGltZVByb3DW/1jsHICoTnVsbFByb3DAq0J5dGVBcnJQcm9wxAMBAgOQ"),

0 commit comments

Comments
 (0)