visionmedia/mocha — pull request #1111 by bnoordhuis (2014-01-14 16:17:08+00:00)
Title: lib: errno is not a global in node >= v0.9.11

Update the global leak checker to add errno to the list of expected
globals only when the node version is < v0.9.11.

I'd like to add a regression test but I'm not sure how to go about it. I've seen test/acceptance/globals.js but there doesn't seem to be a way to make it work with conditional failures.