Skip to content

Commit

Permalink
Fix previous implementation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FriggaHel committed Mar 25, 2024
1 parent 40716dd commit 8d9ada5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visual-dotnet/SauceLabs.Visual/VisualCheckOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class VisualCheckOptions

internal void EnsureTestContextIsPopulated(string callerMemberName, string? previousSuiteName)
{
if (string.IsNullOrEmpty(callerMemberName) || HasIncompleteTestContext())
if (string.IsNullOrEmpty(callerMemberName) || !HasIncompleteTestContext())
{
return;
}
Expand Down

0 comments on commit 8d9ada5

Please sign in to comment.