File: 004-service.t

package info (click to toggle)
libapp-nopaste-perl 1.013-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 456 kB
  • sloc: perl: 1,334; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 290 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 0.88;
use Test::Deep;
use Test::Fatal;

use App::Nopaste::Service;

like(
    exception { App::Nopaste::Service->uri() },
    qr/App::Nopaste::Service must provide a 'uri' method/,
    'appropriate error when no URI is provided',
);

done_testing;