17 lines
496 B
CoffeeScript
17 lines
496 B
CoffeeScript
# If you want an example of language specs, check out:
|
|
# https://github.com/atom/language-javascript/blob/master/spec/javascript-spec.coffee
|
|
|
|
describe "T8Assembly grammar", ->
|
|
grammar = null
|
|
|
|
beforeEach ->
|
|
waitsForPromise ->
|
|
atom.packages.activatePackage("language-t8-assembly")
|
|
|
|
runs ->
|
|
grammar = atom.syntax.grammarForScopeName("source.t8-assembly")
|
|
|
|
it "parses the grammar", ->
|
|
expect(grammar).toBeTruthy()
|
|
expect(grammar.scopeName).toBe "source.t8-assembly"
|