summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono
diff options
context:
space:
mode:
authorBruno da Silva Belo <brunodasilvabelo@gmail.com>2019-10-25 11:22:35 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-25 11:28:45 -0300
commitc0f3febccfc75c4a5876c5b4166c9d9142723b2a (patch)
tree2cf6981c82a7750f5c7975a343e12473e0a2e395 /src/tests/efl_mono
parent882a2d4ec46853edfa2d34032a6a80abee6dc211 (diff)
csharp: Calling ConfigureAwait on tasks Model.
Summary: ref T8424 Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8424 Differential Revision: https://phab.enlightenment.org/D10496
Diffstat (limited to 'src/tests/efl_mono')
-rw-r--r--src/tests/efl_mono/Model.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/efl_mono/Model.cs b/src/tests/efl_mono/Model.cs
index 13e0d15..54f7200 100644
--- a/src/tests/efl_mono/Model.cs
+++ b/src/tests/efl_mono/Model.cs
@@ -42,10 +42,10 @@ public class TestModel {
42 var model = new Efl.GenericModel<VeggieViewModel>(veggies, loop); 42 var model = new Efl.GenericModel<VeggieViewModel>(veggies, loop);
43 Test.AssertEquals(3, (int)model.GetChildrenCount()); 43 Test.AssertEquals(3, (int)model.GetChildrenCount());
44 44
45 VeggieViewModel r2 = await model.GetAtAsync(1); 45 VeggieViewModel r2 = await model.GetAtAsync(1).ConfigureAwait(false);
46 Test.AssertEquals(r2.Name, "Romaine Lettuce"); 46 Test.AssertEquals(r2.Name, "Romaine Lettuce");
47 47
48 VeggieViewModel r = await model.GetAtAsync(0); 48 VeggieViewModel r = await model.GetAtAsync(0).ConfigureAwait(false);
49 Test.AssertEquals(r.Name, "Tomato"); 49 Test.AssertEquals(r.Name, "Tomato");
50 50
51 loop.End(); 51 loop.End();