Skip to content

Commit

Permalink
remove unnecessary Task return
Browse files Browse the repository at this point in the history
  • Loading branch information
RenderMichael committed Dec 6, 2024
1 parent e00f6c6 commit 71fce20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dotnet/test/common/NavigationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,11 @@ public void ShouldRefreshPage()

[Test]
[NeedsFreshDriver(IsCreatedBeforeTest = true)]
public Task ShouldNotHaveProblemNavigatingWithNoPagesBrowsedAsync()
public void ShouldNotHaveProblemNavigatingWithNoPagesBrowsedAsync()
{
var navigation = driver.Navigate();
Assert.That(async () => await navigation.BackAsync(), Throws.Nothing);
Assert.That(async () => await navigation.ForwardAsync(), Throws.Nothing);
return Task.CompletedTask;
}

[Test]
Expand Down

0 comments on commit 71fce20

Please sign in to comment.