File: 01_die_check.t

package info (click to toggle)
libsub-uplevel-perl 0.2800-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 260 kB
  • sloc: perl: 671; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl

# Kirk:   How we deal with death is at least as important as how we deal 
#         with life, wouldn't you say? 
# Saavik: As I indicated, Admiral, that thought had not occurred to me.  
# Kirk:   Well, now you have something new to think about. Carry on. 
 
# XXX DG: Why is this test here?  Seems pointless.  Oh, well.

use strict;
BEGIN { $^W = 1 }

use Test::More tests => 1;

#line 12
eval { die };
is( $@, "Died at $0 line 12.\n" );