Commits

Anonymous committed 1a88e87

Made another test a limited-output one.

Comments (0)

Files changed (1)

     reset_out_buffer();
 
     my $svn_ra_web =
-        SVN::RaWeb::Light->new(
+        SVN::RaWeb::Light::OutputTransAndList->new(
             'url' => "http://svn-i.shlomifish.org/svn/myrepos/",
             'url_translations' =>
             [
 
     # TEST
     is_deeply([split(/\n/, $results)], [(split /\n/, <<"EOF")]
-Content-Type: text/html
-
-<html><head><title>Revision 10900: /trunk/mydir</title></head>
-<body>
-<h2>Revision 10900: /trunk/mydir</h2>
 <table border="1">
 <tr><td><a href="http://y.y/trunk/mydir/">MyUrl</a></td></tr>
 </table>
 <li><a href=\"hello.pm?trans_hide_all=1&amp;trans_user=MyUrl,http://y.y/\">hello.pm</a> [<a href="http://y.y/trunk/mydir/hello.pm">MyUrl</a>]</li>
 <li><a href=\"mydir/?trans_hide_all=1&amp;trans_user=MyUrl,http://y.y/\">mydir/</a> [<a href="http://y.y/trunk/mydir/mydir/">MyUrl</a>]</li>
 </ul>
-</body></html>
 EOF
     , "Checking for trans_no_list=1");
 }