Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Maya-Painter committed Aug 24, 2023
1 parent c6ecfe0 commit 4ecc894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static TryCatch<IQueryPipelineStage> MonadicCreate(
if ((continuationToken != null) && (continuationToken is CosmosElement))
{
throw new CosmosException(
"Cannot use non-aggrgate continuation token with aggregate queries.",
"Cannot use non-aggregate continuation token with aggregate queries.",
statusCode: System.Net.HttpStatusCode.BadRequest,
subStatusCode: (int)Documents.SubStatusCodes.MalformedContinuationToken,
activityId: Guid.Empty.ToString(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ public async Task LinqCountWithContinuationTokenTest()
{
Assert.IsTrue(exception.StatusCode == System.Net.HttpStatusCode.BadRequest);
Assert.IsTrue(exception.SubStatusCode == (int)Documents.SubStatusCodes.MalformedContinuationToken);
Assert.IsTrue(exception.Message.Contains("Cannot use non-aggrgate continuation token with aggregate queries."));
Assert.IsTrue(exception.Message.Contains("Cannot use non-aggregate continuation token with aggregate queries."));
return;
}

Expand Down Expand Up @@ -964,7 +964,7 @@ public async Task LinqAverageWithContinuationTokenTest()
{
Assert.IsTrue(exception.StatusCode == System.Net.HttpStatusCode.BadRequest);
Assert.IsTrue(exception.SubStatusCode == (int)Documents.SubStatusCodes.MalformedContinuationToken);
Assert.IsTrue(exception.Message.Contains("Cannot use non-aggrgate continuation token with aggregate queries."));
Assert.IsTrue(exception.Message.Contains("Cannot use non-aggregate continuation token with aggregate queries."));
return;
}

Expand Down

0 comments on commit 4ecc894

Please sign in to comment.