File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Release/tests/functional/pplx/pplx_test Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1812,9 +1812,9 @@ TEST(TestNestedTasks)
1812
1812
}
1813
1813
1814
1814
{
1815
- task<int > nestedTask;
1816
- task<int > unwrap ([&]() -> task<int > {
1817
- nestedTask = task<int >([]() -> int {
1815
+ task<void > nestedTask;
1816
+ task<void > unwrap ([&]() -> task<void > {
1817
+ nestedTask = task<void >([]() {
1818
1818
cancel_current_task ();
1819
1819
});
1820
1820
return nestedTask;
@@ -1888,7 +1888,7 @@ TEST(PPL_Conversions_Exceptions)
1888
1888
}
1889
1889
catch (int m)
1890
1890
{
1891
- VERIFY_ARE_EQUAL (m,2 );
1891
+ VERIFY_ARE_EQUAL (m,42 );
1892
1892
}
1893
1893
1894
1894
pplx::task<int > t3 = pplx::concurrency_task_to_pplx_task (t2);
@@ -1899,7 +1899,7 @@ TEST(PPL_Conversions_Exceptions)
1899
1899
}
1900
1900
catch (int m)
1901
1901
{
1902
- VERIFY_ARE_EQUAL (m,2 );
1902
+ VERIFY_ARE_EQUAL (m,42 );
1903
1903
}
1904
1904
}
1905
1905
You can’t perform that action at this time.
0 commit comments