src/test/java/org/embulk/output/mailchimp/TestMailChimpHelper.java in embulk-output-mailchimp-0.3.23 vs src/test/java/org/embulk/output/mailchimp/TestMailChimpHelper.java in embulk-output-mailchimp-0.3.24
- old
+ new
@@ -18,10 +18,11 @@
import static org.embulk.output.mailchimp.helper.MailChimpHelper.maskEmail;
import static org.embulk.output.mailchimp.helper.MailChimpHelper.orderJsonNode;
import static org.embulk.output.mailchimp.helper.MailChimpHelper.toJsonNode;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
/**
* Created by thangnc on 4/26/17.
*/
public class TestMailChimpHelper
@@ -35,11 +36,10 @@
}
@Test
public void test_containsCaseInsensitive_validMergeFields()
{
- String expect = "United State";
- assertEquals("Interest category should match", expect, containsCaseInsensitive("united state",
+ assertTrue("Interest category should match", containsCaseInsensitive("united state",
Arrays.asList("Donating", "United State")));
}
@Test
public void test_extractMemberStatus()