File: 03_attr_err.t

package info (click to toggle)
libtext-csv-encoded-perl 0.25-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 288 kB
  • sloc: perl: 434; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use Test::More;

plan tests => 2;

BEGIN {
    local $ENV{PERL_TEXT_CSV} = $ARGV[0] || 0;
    require Text::CSV::Encoded;
}

my $csv = Text::CSV::Encoded->new( { not_implemented_attr => 1 } );

ok( not $csv );

like( Text::CSV::Encoded->error_diag, qr/INI - / );