Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily disable select Chapter 20 tests #550

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading