We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7a19f commit 6cdd51eCopy full SHA for 6cdd51e
src/libraries/System.Runtime/tests/System.Threading.Tasks.Tests/MethodCoverage.cs
@@ -444,7 +444,7 @@ public static void Task_WhenAll_TwoTasks_WakesOnBothCompletion()
444
Assert.False(twa.IsCompleted);
445
t2.SetResult(2);
446
Assert.True(twa.IsCompletedSuccessfully);
447
- Assert.Equal([1, 2], twa.Result);
+ Assert.Equal(new int[] { 1, 2 }, twa.Result);
448
}
449
450
// Non-generic, second completes first
@@ -471,7 +471,7 @@ public static void Task_WhenAll_TwoTasks_WakesOnBothCompletion()
471
472
t1.SetResult(1);
473
474
475
476
477
0 commit comments