Skip to content

Commit

Permalink
Update StringNonOrdinalTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
hamarb123 authored Jan 15, 2025
1 parent 3c41b8e commit 1e60295
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public struct S1
var expected0 = VerifyCS.Diagnostic("HAM0004").WithLocation(0).WithArguments("Compare");
var expected1 = VerifyCS.Diagnostic("HAM0004").WithLocation(1).WithArguments("CompareTo");
var expected2 = VerifyCS.Diagnostic("HAM0004").WithLocation(2).WithArguments("EndsWith");
var expected5 = VerifyCS.Diagnostic("HAM0004").WithLocation(3).WithArguments("IndexOf");
var expected6 = VerifyCS.Diagnostic("HAM0004").WithLocation(4).WithArguments("LastIndexOf");
var expected7 = VerifyCS.Diagnostic("HAM0004").WithLocation(5).WithArguments("StartsWith");
var expected8 = VerifyCS.Diagnostic("HAM0004").WithLocation(6).WithArguments("IndexOf");
var expected3 = VerifyCS.Diagnostic("HAM0004").WithLocation(3).WithArguments("IndexOf");
var expected4 = VerifyCS.Diagnostic("HAM0004").WithLocation(4).WithArguments("LastIndexOf");
var expected5 = VerifyCS.Diagnostic("HAM0004").WithLocation(5).WithArguments("StartsWith");
var expected6 = VerifyCS.Diagnostic("HAM0004").WithLocation(6).WithArguments("IndexOf");

await VerifyCS.VerifyAnalyzerAsync(source,
expected0, expected1, expected2, expected3,
Expand Down Expand Up @@ -107,10 +107,10 @@ End Structure
var expected0 = VerifyVB.Diagnostic("HAM0004").WithLocation(0).WithArguments("Compare");
var expected1 = VerifyVB.Diagnostic("HAM0004").WithLocation(1).WithArguments("CompareTo");
var expected2 = VerifyVB.Diagnostic("HAM0004").WithLocation(2).WithArguments("EndsWith");
var expected5 = VerifyVB.Diagnostic("HAM0004").WithLocation(3).WithArguments("IndexOf");
var expected6 = VerifyVB.Diagnostic("HAM0004").WithLocation(4).WithArguments("LastIndexOf");
var expected7 = VerifyVB.Diagnostic("HAM0004").WithLocation(5).WithArguments("StartsWith");
var expected8 = VerifyVB.Diagnostic("HAM0004").WithLocation(6).WithArguments("IndexOf");
var expected3 = VerifyVB.Diagnostic("HAM0004").WithLocation(3).WithArguments("IndexOf");
var expected4 = VerifyVB.Diagnostic("HAM0004").WithLocation(4).WithArguments("LastIndexOf");
var expected5 = VerifyVB.Diagnostic("HAM0004").WithLocation(5).WithArguments("StartsWith");
var expected6 = VerifyVB.Diagnostic("HAM0004").WithLocation(6).WithArguments("IndexOf");

await VerifyVB.VerifyAnalyzerAsync(source,
expected0, expected1, expected2, expected3,
Expand Down

0 comments on commit 1e60295

Please sign in to comment.