Skip to content

Commit 09c18de

Browse files
committed
test was missing the opening '[' in the request to make it take the batch processing path.
1 parent 2f6f913 commit 09c18de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AustinHarris.JsonRpcTest/UnitTest1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ public void TestMultipleResults()
13981398
public void TestSingleResultBatch()
13991399
{
14001400
var result =
1401-
JsonRpcProcessor.Process(@"{""jsonrpc"":""2.0"",""method"":""ReturnsDateTime"",""params"":{},""id"":1}]");
1401+
JsonRpcProcessor.Process(@"[{""jsonrpc"":""2.0"",""method"":""ReturnsDateTime"",""params"":{},""id"":1}]");
14021402
result.Wait();
14031403
Assert.IsFalse(result.Result.EndsWith("]"));
14041404
}

0 commit comments

Comments
 (0)