File: shell_config_generate__space_else.t

package info (click to toggle)
libshell-config-generate-perl 0.34-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 268 kB
  • sloc: perl: 595; sh: 3; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
use Test2::V0 -no_srand => 1;
use Shell::Config::Generate qw( win32_space_be_gone );

skip_all 'test only for NOT cygwin and MSWin32' if $^O =~ /^(cygwin|MSWin32|msys)$/;

ok(Shell::Config::Generate->can('win32_space_be_gone'), 'has win32_space_be_gone function');

is [win32_space_be_gone 'foo', 'bar', 'baz'], ['foo', 'bar', 'baz'], "returns what is given";

done_testing;