Unload the coffee grammar after using

This commit is contained in:
Ben Ogle 2014-09-22 15:17:38 -07:00
parent d33bd291dd
commit 039afff1de

View File

@ -3263,6 +3263,9 @@ describe "TextEditor", ->
runs ->
expect(editor.softTabs).toBe false
atom.packages.deactivatePackage('language-coffee-script')
atom.packages.unloadPackage('language-coffee-script')
describe ".destroy()", ->
it "destroys all markers associated with the edit session", ->
expect(buffer.getMarkerCount()).toBeGreaterThan 0