bessarabov / Test-Whitespaces

test source code for errors in whitespaces
4 stars 0 forks source link

Fail if there is no such dir #17

Open bessarabov opened 11 years ago

bessarabov commented 11 years ago

I've created new whitespaces.t file and I've written there:

use Test::Whitespaces {
    dirs => [ '../lib' ],
};

And I was thinkg for a long time why it is not working. My error was that I have used path '.../lib', but I should have to use 'lib'.

Now I think that the script should fail if there is no such directory.