File: test_script__exports__gh47.t

package info (click to toggle)
libtest-script-perl 1.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 296 kB
  • sloc: perl: 426; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use Test2::V0 -no_srand => 1;
use Test::Script tests => 1;

# replaces t/01_compile.t

subtest 'expected imports' => sub {
  imported_ok $_ for qw(
    script_compiles
    script_compiles_ok
    script_runs
    script_stdout_is
    script_stdout_isnt
    script_stdout_like
    script_stdout_unlike
    script_stderr_is
    script_stderr_isnt
    script_stderr_like
    script_stderr_unlike
    program_runs
    program_stdout_is
    program_stdout_isnt
    program_stdout_like
    program_stdout_unlike
    program_stderr_is
    program_stderr_isnt
    program_stderr_like
    program_stderr_unlike
  );
};

done_testing;