Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
9Lucky9 committed Aug 21, 2023
1 parent f3f25d1 commit f5d6ab2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions HeistItemFinder.UnitTests/Realizations/ItemFinderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,10 @@ public void FindLastListedShouldThrowItemNotFoundException()
Lines = lines,
Language = null
};
Assert.Throws<ItemNotFoundException>(() =>
{
var result = _sut.FindLastListedItem(
equipmentResponse,
textFromImage);
});
var result = _sut.FindLastListedItem(
equipmentResponse,
textFromImage);
Assert.Equal("thief's trinket", result.BaseType);
}
}
}

0 comments on commit f5d6ab2

Please sign in to comment.