Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 2776548

Browse files
author
Meaghan Lewis
committed
update one more test to use assertion IsInstanceOf
1 parent 0d0fbaf commit 2776548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/UnitTests/GitHub.App/ViewModels/Dialog/GitHubDialogWindowViewModelTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public async Task ShowsLoginDialogWhenNoConnectionsAvailable()
5454

5555
await target.StartWithConnection(content);
5656

57-
Assert.IsAssignableFrom<ILoginViewModel>(target.Content);
58-
}
57+
Assert.That(target.Content, Is.InstanceOf<ILoginViewModel>());
58+
}
5959

6060
[Test]
6161
public async Task ShowsContentWhenConnectionAvailable()

0 commit comments

Comments
 (0)