File: test.t

package info (click to toggle)
libpithub-perl 0.01034-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,052 kB
  • sloc: perl: 3,482; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use FindBin;
use lib "$FindBin::Bin/lib";
use Pithub::Test;

subtest "Test::Most imported" => sub {
    pass("Loaded test functions");
    cmp_deeply {}, {}, "Test::Deep imported";
};

subtest "uri_is" => sub {
    uri_is "http://example.com", "http://example.com", "same URI";
    uri_is "http://example.com?foo=bar&up=down",
           "http://example.com?up=down&foo=bar", "same query, different order";
};

done_testing;