emoji-java
emoji-java copied to clipboard
JUnit tests pass in Eclipse but fail in Maven build it is showing org.junit.ComparisonFailure
Here is my test case :
@Test
public void testRemoveEmoji() throws Exception {
Items items = getSampleItems("/json/ItemObjectWithEmojiContent.json");
List<Item> itemList = items.getItemsList();
for(Item item : itemList) {
this.starcImportProcessor.removeEmojis(item);
assertNotNull(item);
assertEquals("(Open -> In Progress -> Open -> Closed)", item.getDescription());
assertNotNull(item.getItemComments());
for(ItemComment itemComments : item.getItemComments()) {
assertEquals("Test comment", itemComments.getComment());
}
}