Skip to content

Commit 5d0897e

Browse files
author
Lukasz Mendakiewicz
committed
Adjust debug messages to avoid resource changes
1 parent 88f005e commit 5d0897e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

GoogleTestAdapter/Core/GoogleTestDiscoverer.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,20 +106,19 @@ public static bool IsGoogleTestExecutable(string executable, string customRegex,
106106
{
107107
if (Utils.BinaryFileContainsStrings(executable, Encoding.ASCII, GoogleTestConstants.GoogleTestExecutableMarkers))
108108
{
109-
logger.DebugInfo($"Google Test indicators found in executable {executable}");
110109
return true;
111110
}
112111
}
113112
else
114113
{
115114
if (SafeMatches(executable, customRegex, logger))
116115
{
117-
logger.DebugInfo($"Custom regex '{customRegex}' matches executable '{executable}'");
116+
logger.DebugInfo(String.Format(Resources.MatchesCustom, executable, customRegex));
118117
return true;
119118
}
120119
}
121120

122-
logger.DebugInfo($"File does not seem to be Google Test executable: '{executable}'");
121+
logger.DebugInfo(String.Format(Resources.FileNotFound, executable));
123122
return false;
124123
}
125124

0 commit comments

Comments
 (0)