From 3a6a13d37fc5f6d02604fa9bfa68314938bd088f Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Mon, 7 Oct 2019 22:16:18 -0700 Subject: [PATCH] Fix copy&paste globalization test bug (dotnet/corefx#41624) Commit migrated from https://github.com/dotnet/corefx/commit/c1092870c306b8da256e455cec0814486255d0c1 --- .../System.Globalization/tests/CompareInfo/CompareInfoTests.IndexOf.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Globalization/tests/CompareInfo/CompareInfoTests.IndexOf.cs b/src/libraries/System.Globalization/tests/CompareInfo/CompareInfoTests.IndexOf.cs index 72422cd4..2036dc4 100644 --- a/src/libraries/System.Globalization/tests/CompareInfo/CompareInfoTests.IndexOf.cs +++ b/src/libraries/System.Globalization/tests/CompareInfo/CompareInfoTests.IndexOf.cs @@ -39,7 +39,7 @@ namespace System.Globalization.Tests // Slovak yield return new object[] { s_slovakCompare, "ch", "h", 0, 2, CompareOptions.None, -1 }; - yield return new object[] { s_slovakCompare, "chodit hore", "HO", 0, 2, CompareOptions.IgnoreCase, -1 }; + yield return new object[] { s_slovakCompare, "chodit hore", "HO", 0, 11, CompareOptions.IgnoreCase, 7 }; yield return new object[] { s_slovakCompare, "chh", "h", 0, 3, CompareOptions.None, 2 }; // Turkish -- 2.7.4