You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Testing.Azure.Functions.Http.Tests/HttpResponseDataAssertionsTest.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ public void WithStringBody_DifferentValue_Failed()
191
191
};
192
192
193
193
act.Should().ThrowExactly<XunitException>()
194
-
.WithMessage("Expected actualString to be the same string, but they differ at index 4:\r\n ↓ (actual)\r\n\"The other string\"\r\n\"The string\"\r\n ↑ (expected).");
194
+
.WithMessage("Expected actualString to be \"The string\" with a length of 10, but \"The other string\" has a length of 16, differs near \"oth\" (index 4).");
195
195
196
196
response.Body.Position.Should().Be(position);
197
197
}
@@ -212,7 +212,7 @@ public void WithStringBody_DifferentEncoding_Failed()
212
212
};
213
213
214
214
act.Should().ThrowExactly<XunitException>()
215
-
.WithMessage("Expected actualString to be the same string, but they differ at index 0:\r\n ↓ (actual)\r\n\"桔\u2065瑯敨\u2072瑳楲杮\"\r\n\"The string\"\r\n ↑ (expected).");
215
+
.WithMessage("Expected actualString to be \"The string\" with a length of 10, but \"桔\u2065瑯敨\u2072瑳楲杮\" has a length of 8, differs near \"桔\u2065瑯\" (index 0).");
0 commit comments