adamwathan / sublime-phpunit

Run individual unit test files directly from Sublime
280 stars 43 forks source link

Error when trying to run with iTerm #30

Open JayBizzle opened 7 years ago

JayBizzle commented 7 years ago

When the open_iterm.applescript file gets executed, i get the following error. Tried this on 2 different Macs, both with the same result. Had a go at debugging myself but came up with nothing 😕

/Users/username/Library/Application Support/Sublime Text 3/Packages/sublime-phpunit/open_iterm.applescript:86:92: script error: Expected end of line, etc. but found class name. (-2741)
davidhemphill commented 7 years ago

Not sure how to diagnose this issue for you. I would start by cloning this into /Library/Application Support/Sublime Text 3/Packages/sublime-phpunit instead of your user's folder. The docs have been updated to offer a command for that.

JayBizzle commented 7 years ago

Hmmm...the plugin isn't even registered when placed into that folder. It only will only be registered when in the ~/Library/...... folder 😕

davidhemphill commented 7 years ago

What version of macOS are you on?

JayBizzle commented 7 years ago

Sierra 10.12.5

davidhemphill commented 7 years ago

ah yeah, I got mixed up there. :-D it should be in your user folder, which you already had.

Something seems weird with your error though, there aren't even that many lines in that script. Can you make sure it's the same one from the repo?