Skip to content

Commit

Permalink
Fix some ing ending words
Browse files Browse the repository at this point in the history
  • Loading branch information
Nincodedo committed Jan 28, 2020
1 parent 17ab75c commit ee9a375
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ dnt$
thm$
ier$
iest$
[^aeiou][aeiouy]ing$
[aeiouy]ing$
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import static org.junit.Assert.assertEquals;

/**
*
* @author m09
*/
public class SyllableCounterTest {
Expand Down Expand Up @@ -73,7 +72,7 @@ private void testFromFile(String filepath) {
System.err.println("couldn't parse " + filepath + ". Didn't "
+ "find 2 fields in one of the non-comment " + "lines.");
}
assertEquals(sc.count(fields[1]), Integer.parseInt(fields[0]));
assertEquals("Wrong results for " + fields[1], Integer.parseInt(fields[0]), sc.count(fields[1]));
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@
2 rhythm
3 heavier
3 heaviest
2 crying
2 crying
2 saying
2 ending

0 comments on commit ee9a375

Please sign in to comment.