Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior of to.be.a.directory() #33

Open
giper45 opened this issue May 8, 2017 · 1 comment
Open

Behavior of to.be.a.directory() #33

giper45 opened this issue May 8, 2017 · 1 comment

Comments

@giper45
Copy link

giper45 commented May 8, 2017

Is this the right behavior ?

 // existentDir is a directory that exists
 expect(existentDir).to.be.a.directory() => true, ok
// nonExistentDir is a directory that doesn't exists
expect(nonExistentDir).to.not.be.a.path() => true, ok
expect(nonExistentDir).to.not.be.a.directory() => false ?  

If a directory doesn't exist shouldn't "to.not.be.a.directory()" gives false?
Thanks !

@giper45
Copy link
Author

giper45 commented May 8, 2017

Seems the same of #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant