Decaf language-csharp

This commit is contained in:
confused-Techie 2023-07-08 18:06:23 -07:00
parent bf7b3280b3
commit 016aa08449
2 changed files with 4 additions and 25 deletions

View File

@ -1,17 +0,0 @@
describe "Language C# package", ->
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-csharp")
describe "C# Script grammar", ->
it "parses the grammar", ->
grammar = atom.grammars.grammarForScopeName("source.csx")
expect(grammar).toBeDefined()
expect(grammar.scopeName).toBe "source.csx"
describe "C# Cake grammar", ->
it "parses the grammar", ->
grammar = atom.grammars.grammarForScopeName("source.cake")
expect(grammar).toBeDefined()
expect(grammar.scopeName).toBe "source.cake"

View File

@ -1,8 +1,4 @@
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
*/
describe("Language C# package", function() {
beforeEach(() => waitsForPromise(() => atom.packages.activatePackage("language-csharp")));
@ -10,12 +6,12 @@ describe("Language C# package", function() {
describe("C# Script grammar", () => it("parses the grammar", function() {
const grammar = atom.grammars.grammarForScopeName("source.csx");
expect(grammar).toBeDefined();
return expect(grammar.scopeName).toBe("source.csx");
expect(grammar.scopeName).toBe("source.csx");
}));
return describe("C# Cake grammar", () => it("parses the grammar", function() {
describe("C# Cake grammar", () => it("parses the grammar", function() {
const grammar = atom.grammars.grammarForScopeName("source.cake");
expect(grammar).toBeDefined();
return expect(grammar.scopeName).toBe("source.cake");
expect(grammar.scopeName).toBe("source.cake");
}));
});