File: ending.t

package info (click to toggle)
libgoto-file-perl 0.005-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid
  • size: 152 kB
  • sloc: perl: 72; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
package FooBarBaz;
use strict;
use warnings;

use Test2::V0;

open(my $fh, '<', __FILE__) or die "Could not open this file!: $!";
my @end = <$fh>;
close($fh);

is($end[-1], 'done_testing', "no semicolon or newline is present at the end of this file");

done_testing