Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, too bad Alphonse didn't include a test such as:

    @Test
    public void stringContainsNewline() throws Exception {
      assertThat(wrap("ab\ncd e", 4), equalTo("ab\ncd e"));
    }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: