mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 22:50:22 +03:00
Update workspace spec…
…to reflect new behavior of `GrammarRegistry#getGrammars`.
This commit is contained in:
parent
b9258b5884
commit
df6349af83
@ -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',
|
||||
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user