Skip to content

Commit

Permalink
Convert to method
Browse files Browse the repository at this point in the history
  • Loading branch information
FriggaHel committed Mar 29, 2024
1 parent ea463f7 commit d032726
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion visual-dotnet/SauceLabs.Visual/VisualCheckOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ public class VisualCheckOptions
/// </summary>
public string? TestName { get; set; }

private bool HasCompleteTestContext() => !string.IsNullOrEmpty(SuiteName) & !string.IsNullOrEmpty(TestName);
private bool HasCompleteTestContext()
{
return string.IsNullOrEmpty(SuiteName) & !string.IsNullOrEmpty(TestName);
}

internal void EnsureTestContextIsPopulated(string callerMemberName, string? previousSuiteName)
{
Expand Down

0 comments on commit d032726

Please sign in to comment.