Skip to content

Commit

Permalink
test: Fix EvaluateTxs test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Jul 3, 2024
1 parent 2de9fcc commit 12b30d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Libplanet.Tests/Action/ActionEvaluatorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,9 @@ DumbAction MakeAction(Address address, char identifier, Address? transferTo = nu
// have to be updated, since the order may change due to different PreEvaluationHash.
expectations = new (int TxIdx, int ActionIdx, string[] UpdatedStates, Address Signer)[]
{
(2, 0, new[] { "A", "B", "C", null, "F" }, _txFx.Address3), // Adds "F"
(1, 0, new[] { "A", "B", "C", "E", "F" }, _txFx.Address2), // Adds "E"
(0, 0, new[] { "A,D", "B", "C", "E", "F" }, _txFx.Address1), // Adds "D"
(1, 0, new[] { "A", "B", "C", "E", null }, _txFx.Address2),
(0, 0, new[] { "A,D", "B", "C", "E", null }, _txFx.Address1),
(2, 0, new[] { "A,D", "B", "C", "E", "F" }, _txFx.Address3),
};
Assert.Equal(expectations.Length, evals.Length);
foreach (var (expect, eval) in expectations.Zip(evals, (x, y) => (x, y)))
Expand Down

0 comments on commit 12b30d5

Please sign in to comment.