Skip to content

Instantly share code, notes, and snippets.

@unclebob
Created October 3, 2010 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unclebob/608912 to your computer and use it in GitHub Desktop.
Save unclebob/608912 to your computer and use it in GitHub Desktop.
@Test
public void wrapAfterWordBoundary() throws Exception {
assertThat(wrap("word word", 6), equalTo("word\nword"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment