File: ending.t

package info (click to toggle)
libtest2-harness-perl 1.000161-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,904 kB
  • sloc: perl: 17,026; makefile: 10; ansic: 6; sh: 4
file content (14 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# HARNESS-DURATION-SHORT
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