File: 05_trace.t

package info (click to toggle)
libprotocol-http2-perl 1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 448 kB
  • sloc: perl: 3,370; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;
use Test::More;

BEGIN {
    use_ok( 'Protocol::HTTP2::Trace', qw(tracer bin2hex) );
}

subtest 'bin2hex' => sub {
    is bin2hex("ABCDEFGHIJKLMNOPQR"),
      "4142 4344 4546 4748 494a 4b4c 4d4e 4f50\n5152 ";
};

done_testing;