File: 05-syntax-error.t

package info (click to toggle)
libnamespace-clean-perl 0.27-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 216 kB
  • sloc: perl: 442; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
use warnings;
use strict;

use lib 't/lib';
use Test::More tests => 1;

eval { require "SyntaxError.pm" };
like( $@, qr/\Asyntax error at /, 'Syntax Error reported correctly' );