Permalink
Browse files

added test in Stringutils (1030)

  • Loading branch information...
1 parent 2ec8c2e commit 92900305b2185caaf80d927e6d55113c7b49f71e @vladdu vladdu committed Apr 23, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 org.erlide.jinterface.tests/src/org/erlide/jinterface/util/StringUtilsTest.java
@@ -66,6 +66,14 @@ public void removeCommonPrefixTest_2() {
Assert.assertEquals(expected, actual);
}
+ @Test
+ public void removeCommonPrefixTest_3() {
+ final List<String> input = Lists.newArrayList("beta");
+ final List<String> expected = input;
+ final List<String> actual = StringUtils.removeCommonPrefixes(input);
+ Assert.assertEquals(expected, actual);
+ }
+
@Test
public void withoutInterrogationMark_1() {
final String input = "?hello";

0 comments on commit 9290030

Please sign in to comment.