Skip to content

Commit 8be1c76

Browse files
committed
clarify delegate
1 parent 328705c commit 8be1c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/test/common/AlertsTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public void SwitchingToMissingAlertThrows()
253253
driver.Url = CreateAlertPage("cheese");
254254

255255
Assert.That(
256-
AlertToBePresent,
256+
() => AlertToBePresent(),
257257
Throws.TypeOf<NoAlertPresentException>());
258258
}
259259

0 commit comments

Comments
 (0)