twolfson / sublime-plugin-tests

Testing framework for Sublime Text plugins
The Unlicense
22 stars 2 forks source link

ST3 compatibility of the getting start example #29

Closed randy3k closed 10 years ago

randy3k commented 10 years ago

When I was trying the "getting start" example in ST3 , I kept encountering error

======================================================================
FAIL: test_left_delete_single (a_test.TestLeft)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/vagrant/sublime_plugin_tests/framework.py", line 45, in wrapped_fn
    self.assertTrue(success, failure_reason)
AssertionError: Traceback (most recent call last):
  File "/home/vagrant/.config/sublime-text-3/Packages/sublime-harness-tmp/plugin.py", line 48, in run
    plugin_dict['run']()
KeyError: 'run'

I spent quite some time to realize the problem is related to the import statement.

twolfson commented 10 years ago

Ah, classic ST3. Sorry for the issue!

Released in 1.0.2.

twolfson commented 10 years ago

and thanks for the PR! =)

randy3k commented 10 years ago

i am always impressed with your response speed...

twolfson commented 10 years ago

Open source for life @_@