Skip to content

Commit

Permalink
Temporarily disable select Chapter 20 tests (#550)
Browse files Browse the repository at this point in the history
IntelliTect.com is failing so tests are failing. Temporarily disabled
the failing tests.
  • Loading branch information
MarkMichaelis authored Sep 20, 2023
1 parent f8520e4 commit 6d888ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Chapter20.Tests/BaseProgramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ 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 @@ -106,7 +107,7 @@ protected static void AssertAggregateExceptionType(string messagePrefix, Aggrega
ExceptionDispatchInfo.Capture(
innerException!).Throw();

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

Expand Down Expand Up @@ -168,7 +169,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 6d888ff

Please sign in to comment.