File: header.t

package info (click to toggle)
libcgi-session-perl 4.14-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 428 kB
  • ctags: 167
  • sloc: perl: 1,809; makefile: 46
file content (19 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id$

use strict;
use diagnostics;

use Test::More qw/no_plan/;

# Some driver independent tests for header();

use CGI::Session;

my $s = CGI::Session->new();
eval { $s->header() };
is($@, '','has header() method');

eval { $s->http_header() };
is($@, '','has http_header() method');

$s->delete();