File: 800-die-on-unsupported-method.t

package info (click to toggle)
libtest-mockdbi-perl 0.70-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 372 kB
  • sloc: perl: 954; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;
use Test::More;

use_ok('Test::MockDBI');

my $dbh = DBI->connect('DBI:mysql:something', 'user1', 'password1');

#take_imp_data will probably never be implemented!
eval{
  $dbh->take_imp_data();
};

ok($@, '$@ should be set');

done_testing();