javatests/com/google/gitiles/RefServletTest.java [63:81]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void getRefsTextAll() throws Exception {
    setUpSimpleRefs();
    FakeHttpServletResponse res = buildText("/repo/+refs");

    assertThat(res.getActualBodyString())
        .isEqualTo(
            id("HEAD")
                + " HEAD\n"
                + id("refs/heads/branch")
                + " refs/heads/branch\n"
                + id("refs/heads/master")
                + " refs/heads/master\n"
                + id("refs/tags/atag")
                + " refs/tags/atag\n"
                + peeled("refs/tags/atag")
                + " refs/tags/atag^{}\n"
                + id("refs/tags/ctag")
                + " refs/tags/ctag\n");
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



javatests/com/google/gitiles/RefServletTest.java [84:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void getRefsTextAllTrailingSlash() throws Exception {
    setUpSimpleRefs();
    FakeHttpServletResponse res = buildText("/repo/+refs/");

    assertThat(res.getActualBodyString())
        .isEqualTo(
            id("HEAD")
                + " HEAD\n"
                + id("refs/heads/branch")
                + " refs/heads/branch\n"
                + id("refs/heads/master")
                + " refs/heads/master\n"
                + id("refs/tags/atag")
                + " refs/tags/atag\n"
                + peeled("refs/tags/atag")
                + " refs/tags/atag^{}\n"
                + id("refs/tags/ctag")
                + " refs/tags/ctag\n");
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



