skratchdot / open-golang

Open a file, directory, or URI using the OS's default application for that object type. Optionally, you can specify an application to use.
MIT License
783 stars 65 forks source link

Corrected a few typos. Added invalid url for TestStartWith as it seems ... #1

Closed grymoire7 closed 10 years ago

grymoire7 commented 10 years ago

...was intended.

Hi. Aside from the typos, TestStartWith tested with an invalid app which I think /should/ throw an error. This was changed to set input to an invalid url (the string of x's was actually valid) which should not throw an error as stated.

P.S. This is my first pull request. I hope it looks good and was done correctly.

skratchdot commented 10 years ago

Thanks for fixing the typos. I think the app = "xxxxxxx" was intended (to make it work like the RunWith() test, but show that StartWith() doesn't error in the same way).