File: alias.t

package info (click to toggle)
libpromise-xs-perl 0.20-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 908 kB
  • sloc: perl: 1,097; ansic: 355; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env perl

use strict;
use warnings;

use Test::More;

use Promise::XS;

is(
    \&Promise::XS::Deferred::is_pending,
    \&Promise::XS::Deferred::is_in_progress,
    'is_in_progress() and is_pending() are the same',
);

done_testing;