Skip to content

Commit

Permalink
Fix 'true?' to false in test, add failing tests for incorrect branch
Browse files Browse the repository at this point in the history
  • Loading branch information
joeri committed Aug 4, 2009
1 parent 57e210d commit 126a7e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/file/dir.t
Expand Up @@ -16,7 +16,10 @@ else
Dir.rmdir('./tmp')
files = Dir.entries('.')
pass '.entries on Dir'
is files.include?('tmp'), 'true', '.rmdir on Dir'
is files.include?('tmp'), false, '.rmdir on Dir'
else
fail '.entries on Dir (or mkdir on Dir)'
skip '.rmdir'
end
end

Expand Down

0 comments on commit 126a7e9

Please sign in to comment.