mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Remove unneeded activatePackage calls
These are already done in the root beforeEach
This commit is contained in:
@@ -515,7 +515,6 @@ describe "TextMateGrammar", ->
|
||||
lines = null
|
||||
|
||||
beforeEach ->
|
||||
atom.activatePackage('ruby-tmbundle', sync: true)
|
||||
atom.activatePackage('todo-tmbundle', sync: true)
|
||||
grammar = syntax.selectGrammar('main.rb')
|
||||
lines = grammar.tokenizeLines "# TODO be nicer"
|
||||
@@ -631,8 +630,6 @@ describe "TextMateGrammar", ->
|
||||
|
||||
describe "HTML (Ruby - ERB)", ->
|
||||
beforeEach ->
|
||||
atom.activatePackage('html-tmbundle', sync: true)
|
||||
atom.activatePackage('ruby-tmbundle', sync: true)
|
||||
grammar = syntax.selectGrammar('page.erb')
|
||||
lines = grammar.tokenizeLines '<% page_title "My Page" %>'
|
||||
|
||||
@@ -648,7 +645,6 @@ describe "TextMateGrammar", ->
|
||||
|
||||
describe "Surrogate pair characters", ->
|
||||
beforeEach ->
|
||||
atom.activatePackage('javascript-tmbundle', sync: true)
|
||||
grammar = syntax.selectGrammar('main.js')
|
||||
lines = grammar.tokenizeLines "'\uD835\uDF97'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user