Skip to content

Commit

Permalink
Change from Invariant->Ordinal
Browse files Browse the repository at this point in the history
  • Loading branch information
jnyrup committed May 8, 2023
1 parent acac900 commit 6b6969d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -384,5 +384,5 @@ void ReportTestOutcome(params string[] globFilters)

bool RunAllTargets => string.IsNullOrWhiteSpace(PullRequestBase) || Changes.Any(x => x.StartsWith("Build"));

bool IsTag => BranchSpec != null && BranchSpec.Contains("refs/tags", StringComparison.InvariantCultureIgnoreCase);
bool IsTag => BranchSpec != null && BranchSpec.Contains("refs/tags", StringComparison.OrdinalIgnoreCase);
}
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void Can_exclude_all_properties_of_the_parent_type()
subject.Should().BeEquivalentTo(expectation,
o => o
.Using<string>(c => c.Subject.Should().HaveLength(c.Expectation.Length))
.When(si => si.ParentType == expectation.GetType() && si.Path.EndsWith("Id", StringComparison.InvariantCulture)));
.When(si => si.ParentType == expectation.GetType() && si.Path.EndsWith("Id", StringComparison.Ordinal)));
}

[Fact]
Expand Down

0 comments on commit 6b6969d

Please sign in to comment.