Skip to content

Commit

Permalink
Revert "Chapter 20 comment correction"
Browse files Browse the repository at this point in the history
This reverts commit 7d6bf16.
  • Loading branch information
MarkMichaelis committed Sep 20, 2023
1 parent 7d6bf16 commit b0e3df0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Chapter20.Tests/BaseProgramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public void TestInitialize()
}

[TestMethod]
[Ignore]
[DataRow("IntelliTect", @"[1-9]\d*")]
[DataRow("Text Snippet That Does Not Exist On The Page", @"0")]
public void Main_FindText_VerifyOccurenceCount(string findText, string countPattern)
Expand Down Expand Up @@ -107,7 +106,7 @@ protected static void AssertAggregateExceptionType(string messagePrefix, Aggrega
ExceptionDispatchInfo.Capture(
innerException!).Throw();

return true; // Identify whether the exception should report that it is handled or not.
return true; // Identifhy whether the exception should report that it is handled or not.
});
}

Expand Down Expand Up @@ -169,7 +168,7 @@ public async Task Main_GivenBadUri_ThrowException(string uri, string defaultMess
}
if (exception is AggregateException aggregateException)
{
// InnerException expected to be WebException.
// Innerexception expected to be WebException.
exception = aggregateException.Flatten();
aggregateException.Handle(innerException =>
{
Expand Down

0 comments on commit b0e3df0

Please sign in to comment.