jonschlinkert / global-prefix

Get the npm global path prefix. Same code used internally by npm.
MIT License
28 stars 12 forks source link

Use assert.equal to improve test failure message #6

Closed jorrit closed 8 years ago

jorrit commented 8 years ago

The current error message is AssertionError: false == true. With this change, it will be more meaningful, showing the actual and expected string values.

jonschlinkert commented 8 years ago

thanks!