Brendan Ashworth 28bc5899fd posix: test isDirEmpty, change error conditional (#4743)
This commit adds a new test for isDirEmpty (for code coverage) and
changes around the error conditional. Previously, there was a `return
nil` statement that would only be triggered under a race condition and
would trip up our test coverage for no real reason. With this new error
conditional, there's no awkward 'else'-esque condition, which means test
coverage will not change between runs for no reason in this specific
test. It's also a cleaner read.
2017-08-04 10:43:51 -07:00
..
2017-03-23 16:36:00 -07:00
2017-03-23 16:36:00 -07:00
2017-03-23 16:36:00 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00