File: cwd.t

package info (click to toggle)
liburi-perl 1.64-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 608 kB
  • ctags: 303
  • sloc: perl: 4,914; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 162 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!perl -Tw

use strict;
use warnings;

use Test;

plan tests => 1;

use URI::file;
$ENV{PATH} = "/bin:/usr/bin";

my $cwd = eval { URI::file->cwd };
ok($@, '');