root/Apache-DefaultCharset/trunk/t/01_get.t

Revision 744 (checked in by miyagawa, 18 years ago)

0.02

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 use strict;
2 use Apache::Test;
3 use Apache::TestRequest;
4
5 plan tests => 4, have_lwp;
6
7 {
8     my $body = GET_BODY "/euc-jp/index.html";
9     ok($body, qr/charset:euc-jp/);
10     ok($body, qr/charset_r:euc-jp/);
11 }
12
13 {
14     my $body = GET_BODY "/utf-8/index.html";
15     ok($body, qr/charset:utf-8/);
16     ok($body, qr/charset_r:utf-8/);
17 }
18
Note: See TracBrowser for help on using the browser.