diff --git a/src/client/spark_test/SortedTree/SortedTreeTests.cs b/src/client/spark_test/SortedTree/SortedTreeTests.cs index 60748b21c..26d1d8854 100644 --- a/src/client/spark_test/SortedTree/SortedTreeTests.cs +++ b/src/client/spark_test/SortedTree/SortedTreeTests.cs @@ -113,8 +113,8 @@ namespace bts.tests { // replace_success should be true and // we should now get both B and C - // no short circuting since we want to test both conditions - Assert.IsTrue(replace_success & the_children.Count() == 2); + // no short circuting since we want to test all conditions + Assert.IsTrue(replace_success & the_children.Count() == 2 & the_children.Contains(order_b) & the_children.Contains(order_c)); // we will now try to replace a non-existant node replace_success = tree.TryReplace(19, (o) => { o.name = 'Q'; return o; }, out the_children);