Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
basic tests for dir()
  • Loading branch information
moritz committed Jan 31, 2011
1 parent bfe67a6 commit aeb686f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions S32-io/dir.t
@@ -0,0 +1,10 @@
use v6;
use Test;

plan 2;

my @files = dir();

# see roast's README as for why there is always a t/ available
ok @files.grep('t'), 'current directory contains a t/ dir';
isa_ok @files[0], Str, 'dir() returns Str (at least for now..)';

0 comments on commit aeb686f

Please sign in to comment.