diff --git a/src/protocol/tests/eval_silly.rs b/src/protocol/tests/eval_silly.rs index 4cd310ac8d269c6a857e573d07e789272e052cfc..93695ad6b73d5de2d9cd567ea455a6b20bfd9ef4 100644 --- a/src/protocol/tests/eval_silly.rs +++ b/src/protocol/tests/eval_silly.rs @@ -102,7 +102,7 @@ fn test_slicing_magic() { auto created = create_holder(0, 5, 2, 8); // in a convoluted fashion select the value 3 from the lhs and the value 3 from the rhs - auto result = slicing_magic(create_holder(0, 5, 2, 8), 3, 2, 1, 2); + auto result = slicing_magic(created, 3, 2, 1, 2); // and return 3 + 3 return result[0] + result[1];