title: assertEquals failing on two seemingly identical Strings
body: <p>Here is my test:</p>
  
  <pre><code>@Test
  public void testAddPaperConfirm()
  {
      String input = "P\n" +
                      "The Life of Geoff the Platypus";
      InputStream testInput = new ByteArrayInputStream(input.getBytes());
      System.setOut(new PrintStream(testOutput));
      System.setIn(testInput);
      testReviewSystem.main(new String[] {});
      assertEquals(testOutput.toString(), "What do you want to do?\n" +
              "O = Overview, P = Add Paper, R = Add Review, [num] = Detail of that paper, X = exit\n" +
              "What is the title of the paper?\n" +
              "[Paper added]\n"
              + "What do you want to do?\n" +
              "O = Overview, P = Add Paper, R = Add Review, [num] = Detail of that paper, X = exit\n");
  }
  </code></pre>
  
  <p>When I look at the two strings I'm told they're identical. <a href="https://i.stack.imgur.com/G1fv1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G1fv1.png" alt="enter image description here"></a></p>