emoji-java icon indicating copy to clipboard operation
emoji-java copied to clipboard

JUnit tests pass in Eclipse but fail in Maven build it is showing org.junit.ComparisonFailure

Open susil1k opened this issue 4 years ago • 0 comments

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());
            
        }
        
    }

susil1k avatar Aug 24 '21 10:08 susil1k