Skip to content

Commit

Permalink
Update workspace spec…
Browse files Browse the repository at this point in the history
…to reflect new behavior of `GrammarRegistry#getGrammars`.
  • Loading branch information
savetheclocktower committed Mar 3, 2024
1 parent b9258b5 commit df6349a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spec/workspace-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2027,11 +2027,14 @@ describe('Workspace', () => {
'source.coffee',
'source.js', // Tree-sitter grammars also load
'source.js',
'source.js',
'source.js.regexp',
'source.js.regexp',
'source.js.regexp',
'source.js.regexp.replacement',
'source.jsdoc',
'source.jsdoc',
'source.jsdoc',
'source.litcoffee',
'text.plain.null-grammar',
'text.todo',
Expand Down Expand Up @@ -2277,11 +2280,11 @@ describe('Workspace', () => {
Ctor.prototype = HTMLElement.prototype;
TestItemElement.prototype = new Ctor();
TestItemElement.__super__ = HTMLElement.prototype;
TestItemElement.prototype.initialize = function(model) {
TestItemElement.prototype.initialize = function (model) {
this.model = model;
return this;
};
TestItemElement.prototype.getModel = function() {
TestItemElement.prototype.getModel = function () {
return this.model;
};

Expand Down

0 comments on commit df6349a

Please sign in to comment.