PageRenderTime 33ms CodeModel.GetById 28ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/t/010_core/request_upload-basename.t

http://github.com/http-engine/HTTP-Engine
Unknown | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | 7618a24ebf7d7e788c3f7bf432cb30cf MD5 | raw file
 1use strict;
 2use warnings;
 3use Test::More tests => 1;
 4use HTTP::Engine;
 5use HTTP::Engine::Request::Upload;
 6
 7my $upload = HTTP::Engine::Request::Upload->new(
 8    filename => '/tmp/foo/bar/hoge.txt',
 9);
10is $upload->basename, 'hoge.txt';