mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[meta]common csproj/vcxproj settings to Directory.Build.props (#17067)
* Add common csproj/vcxproj settings to Directory.Build.props * Set TreatWarningsAsErrors to true for all c# projects * Minor fixes in unit test projects where Analyzers where not enabled before * Clean up Directory.Build.props * Remove properties from ImageResizer csprojs files
This commit is contained in:
committed by
GitHub
parent
f4f8a1bd69
commit
2e3a2b3f96
@@ -93,11 +93,11 @@ namespace Microsoft.Plugin.Folder.UnitTests
|
||||
// Assert
|
||||
if (hasValues)
|
||||
{
|
||||
Assert.IsTrue(results.Count() > 0);
|
||||
Assert.IsTrue(results.Any());
|
||||
}
|
||||
else
|
||||
{
|
||||
Assert.IsTrue(results.Count() == 0);
|
||||
Assert.IsFalse(results.Any());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user