Skip to content

Commit

Permalink
fix mismatch case of verified file
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Mar 31, 2022
1 parent b673893 commit b499ebe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<NoWarn>CS1591;CS0649;xUnit1026;xUnit1013;msb3277;CS0436</NoWarn>
<Version>16.5.1</Version>
<Version>16.5.2</Version>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>10</LangVersion>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
Expand Down
4 changes: 2 additions & 2 deletions src/Verify/Verifier/VerifyEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class VerifyEngine
List<NewResult> @new = new();
List<NotEqualResult> notEquals = new();
List<FilePair> equal = new();
List<string> delete;
HashSet<string> delete;
GetFileNames getFileNames;
GetIndexedFileNames getIndexedFileNames;

Expand All @@ -18,7 +18,7 @@ public VerifyEngine(string directory, VerifySettings settings, List<string> veri
this.directory = directory;
this.settings = settings;
diffEnabled = !DiffRunner.Disabled && settings.diffEnabled;
delete = verifiedFiles;
delete = new(verifiedFiles, StringComparer.InvariantCultureIgnoreCase);;
this.getFileNames = getFileNames;
this.getIndexedFileNames = getIndexedFileNames;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Verifier/VerifyExceptionMessageBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public static string Build(
string directory,
List<NewResult> @new,
List<NotEqualResult> notEquals,
IReadOnlyList<string> delete,
IReadOnlyCollection<string> delete,
IReadOnlyList<FilePair> equal)
{
var builder = new StringBuilder($"Directory: {directory}");
Expand Down

0 comments on commit b499ebe

Please sign in to comment.