File: versions.t

package info (click to toggle)
libpandoc-wrapper-perl 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 304 kB
  • sloc: perl: 589; makefile: 5; sh: 1
file content (12 lines) | stat: -rw-r--r-- 237 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use Test::More;
use Pandoc;

foreach (glob('xt/bin/*')) {
   next if $_ !~ qr{^xt/bin/pandoc-(\d(\.\d+)*)$};
   is(Pandoc->new($_)->version, $1, $1);
}

ok(1); # to avoid zero tests if no executables available

done_testing;