File: header.t

package info (click to toggle)
libcgi-session-perl 4.48-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 616 kB
  • sloc: perl: 1,920; makefile: 5
file content (19 lines) | stat: -r--r--r-- 286 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 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();