File: 98-internal.t

package info (click to toggle)
libgit-raw-perl 0.79-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,448 kB
  • sloc: perl: 5,267; ansic: 182; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!perl

use Test::More;

use Git::Raw;

eval { Git::Raw::Test->assert(); };

my $error = $@;

like $error, qr|Assertion failed|;
like $error, qr|Test.xs:11|;
ok index ($error, 'croaking: ') != -1;
ok index ($error, '12345') != -1;

done_testing;