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

    assertThat(res.getActualBodyString())
        .isEqualTo(
            id("refs/heads/branch")
                + " refs/heads/branch\n"
                + id("refs/heads/master")
                + " refs/heads/master\n");
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



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

    assertThat(res.getActualBodyString())
        .isEqualTo(
            id("refs/heads/branch")
                + " refs/heads/branch\n"
                + id("refs/heads/master")
                + " refs/heads/master\n");
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



