You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
469 B
17 lines
469 B
4 years ago
|
# If you want an example of language specs, check out:
|
||
|
# https://github.com/atom/language-javascript/blob/master/spec/javascript-spec.coffee
|
||
|
|
||
|
describe "Mblf grammar", ->
|
||
|
grammar = null
|
||
|
|
||
|
beforeEach ->
|
||
|
waitsForPromise ->
|
||
|
atom.packages.activatePackage("language-mblf")
|
||
|
|
||
|
runs ->
|
||
|
grammar = atom.syntax.grammarForScopeName("source.mblf")
|
||
|
|
||
|
it "parses the grammar", ->
|
||
|
expect(grammar).toBeTruthy()
|
||
|
expect(grammar.scopeName).toBe "source.mblf"
|