Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Sep 23, 2024
1 parent 0e746d7 commit 0d91af7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .Lib9c.Tests/Action/AdventureBoss/ExploreAdventureBossTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,10 @@ Type exc
}

// override sheet
state = state.SetLegacyState(Addresses.GetSheetAddress<CollectionSheet>(),
CollectionSheetFixture.Default.Serialize());
state = state.SetLegacyState(
Addresses.GetSheetAddress<CollectionSheet>(),
CollectionSheetFixture.Default.Serialize()
);

state = Stake(state, WantedAddress);
var sheets = state.GetSheets(sheetTypes: new[]
Expand Down Expand Up @@ -302,8 +304,9 @@ Type exc
else if (id == circleRow.Id)
{
var itemCount =
inventory.TryGetTradableFungibleItems(circleRow.ItemId, null, 1L,
out var items)
inventory.TryGetTradableFungibleItems(
circleRow.ItemId, null, 1L, out var items
)
? items.Sum(item => item.count)
: 0;
Assert.Equal(amount, itemCount);
Expand Down

0 comments on commit 0d91af7

Please sign in to comment.