We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c59794 commit 588150bCopy full SHA for 588150b
spec/grammar-spec.coffee
@@ -0,0 +1,17 @@
1
+describe "Language C# package", ->
2
+
3
+ beforeEach ->
4
+ waitsForPromise ->
5
+ atom.packages.activatePackage("language-csharp")
6
7
+ describe "C# Script grammar", ->
8
+ it "parses the grammar", ->
9
+ grammar = atom.grammars.grammarForScopeName("source.csx")
10
+ expect(grammar).toBeDefined()
11
+ expect(grammar.scopeName).toBe "source.csx"
12
13
+ describe "C# Cake grammar", ->
14
15
+ grammar = atom.grammars.grammarForScopeName("source.cake")
16
17
+ expect(grammar.scopeName).toBe "source.cake"
spec/grammar-spec.js
0 commit comments