File: bsd-url.t

package info (click to toggle)
libsoftware-license-perl 0.104006-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 732 kB
  • sloc: perl: 6,913; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!perl
use strict;
use warnings;
use Test::More tests => 2;

use Software::License::BSD;
use Software::License::Mozilla_1_0;

# TEST
is (scalar(Software::License::BSD->url()),
    'http://opensource.org/licenses/BSD-3-Clause',
    "BSD->url() is OK."
);

# TEST
is (scalar(Software::License::Mozilla_1_0->url()),
    'http://www.mozilla.org/MPL/MPL-1.0.txt',
    "Mozilla_1_0->url() is OK."
);