diff --git a/src/libraries/System.Runtime/tests/System/ArrayTests.cs b/src/libraries/System.Runtime/tests/System/ArrayTests.cs index 41b61b30357e0b..18f13bfddceaf1 100644 --- a/src/libraries/System.Runtime/tests/System/ArrayTests.cs +++ b/src/libraries/System.Runtime/tests/System/ArrayTests.cs @@ -4292,7 +4292,7 @@ public static void Fill_Sidecast() { uint[] uintArray = (uint[])(object)new int[] { 0, 1, 2, 3 }; Array.Fill(uintArray, 42); - Assert.Equal(new int[] { 42, 42, 42, 42 }, uintArray); + Assert.Equal(new uint[] { 42, 42, 42, 42 }, uintArray); } [Fact] @@ -4300,7 +4300,7 @@ public static void FillWithStartIndexAndCount_Sidecast() { uint[] uintArray = (uint[])(object)new int[] { 0, 1, 2, 3 }; Array.Fill(uintArray, 42, 1, 2); - Assert.Equal(new int[] { 0, 42, 42, 3 }, uintArray); + Assert.Equal(new uint[] { 0, 42, 42, 3 }, uintArray); } [Fact]