Skip to content

Commit

Permalink
test: Fix AEV test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
OnedgeLee committed Oct 16, 2024
1 parent 47e79c5 commit 15cd401
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 @@ -596,9 +596,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),
(1, 0, new[] { "A", "B", "C", "E", "F" }, _txFx.Address2),
(0, 0, new[] { "A,D", "B", "C", "E", "F" }, _txFx.Address1),
(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 15cd401

Please sign in to comment.