Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Also fix StartProfileAsync_InvalidProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebbo committed May 30, 2016
1 parent 1200bd0 commit 4457010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kudu.Core.Test/ProcessApiFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public async Task StartProfileAsync_InvalidProcess()
controller.Object.Request = new HttpRequestMessage();

// Test
var ex = await Assert.ThrowsAsync<HttpResponseException>(() => controller.Object.StartProfileAsync(100));
var ex = await Assert.ThrowsAsync<HttpResponseException>(() => controller.Object.StartProfileAsync(-2));

// Assert
Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode);
Expand Down

0 comments on commit 4457010

Please sign in to comment.