Skip to content

Commit

Permalink
prefix s_ to static fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor-bl committed Apr 10, 2024
1 parent b0e544b commit 1c2d4af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/FlaUI.WebDriver.UITests/TestUtil/TestApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace FlaUI.WebDriver.UITests.TestUtil
public static class TestApplication
{

private static readonly string _currentDirectory = Directory.GetCurrentDirectory();
private static readonly string _solutionDirectory = FindSolutionDirectory(_currentDirectory);
private static readonly string s_currentDirectory = Directory.GetCurrentDirectory();
private static readonly string s_solutionDirectory = FindSolutionDirectory(s_currentDirectory);

private static string FindSolutionDirectory(string currentDirectory)
{
Expand All @@ -18,7 +18,7 @@ private static string FindSolutionDirectory(string currentDirectory)
return currentDirectory;
}

public static string FullPath => Path.Combine(_solutionDirectory, "TestApplications", "WpfApplication", "bin", "Release", "WpfApplication.exe");
public static string FullPath => Path.Combine(s_solutionDirectory, "TestApplications", "WpfApplication", "bin", "Release", "WpfApplication.exe");
}

}

0 comments on commit 1c2d4af

Please sign in to comment.