mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove semicolons
This commit is contained in:
@@ -1248,7 +1248,7 @@ describe 'TextBuffer', ->
|
||||
buffer.setText("")
|
||||
buffer.append("a")
|
||||
expect(buffer.getText()).toBe "a"
|
||||
buffer.append("b\nc");
|
||||
buffer.append("b\nc")
|
||||
expect(buffer.getText()).toBe "ab\nc"
|
||||
|
||||
describe "line ending support", ->
|
||||
|
||||
@@ -292,9 +292,9 @@ describe "TextMateGrammar", ->
|
||||
repository: {}
|
||||
patterns: [
|
||||
{
|
||||
name: "comment-body";
|
||||
begin: "//";
|
||||
end: "\\n";
|
||||
name: "comment-body"
|
||||
begin: "//"
|
||||
end: "\\n"
|
||||
beginCaptures:
|
||||
"0": { name: "comment-start" }
|
||||
}
|
||||
@@ -440,7 +440,7 @@ describe "TextMateGrammar", ->
|
||||
grammar = syntax.selectGrammar("text.js")
|
||||
{tokens} = grammar.tokenizeLine("var i; // http://github.com")
|
||||
|
||||
expect(tokens[0].value).toBe "var";
|
||||
expect(tokens[0].value).toBe "var"
|
||||
expect(tokens[0].scopes).toEqual ["source.js", "storage.modifier.js"]
|
||||
|
||||
expect(tokens[6].value).toBe "http://github.com"
|
||||
|
||||
Reference in New Issue
Block a user