Skip to content

Show a better error message if file does not exist #3

Closed
qrush opened this Issue Dec 28, 2011 · 0 comments

1 participant

@qrush
Owner
qrush commented Dec 28, 2011

This sucks:

ruby -Ilib ./bin/m test/lol:3
/Users/qrush/Dev/m/lib/m/runner.rb:27:in `load': cannot load such file -- test/lol (LoadError)
    from /Users/qrush/Dev/m/lib/m/runner.rb:27:in `suites'
    from /Users/qrush/Dev/m/lib/m/runner.rb:37:in `tests'
    from /Users/qrush/Dev/m/lib/m/runner.rb:9:in `run'
    from /Users/qrush/Dev/m/lib/m.rb:13:in `run'
    from ./bin/m:4:in `<main>'

Just should be friendlier.

@qrush qrush closed this in 775dda8 Jan 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.