mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
nak no longer includes a space after the colon
This commit is contained in:
@@ -247,7 +247,7 @@ describe "Project", ->
|
||||
|
||||
stdout = BufferedProcess.prototype.bufferStream.argsForCall[0][1]
|
||||
stdout ":#{fs.resolveOnLoadPath('fixtures/dir/a')}\n"
|
||||
stdout "1;0 3: aaa bbb\n2;3 2: cc aa cc\n"
|
||||
stdout "1;0 3:aaa bbb\n2;3 2:cc aa cc\n"
|
||||
|
||||
expect(iterator.argsForCall[0][0]).toEqual
|
||||
path: project.resolve('a')
|
||||
|
||||
@@ -165,9 +165,9 @@ class Project
|
||||
state = 'readingPath'
|
||||
path = null
|
||||
else
|
||||
colonIndex = line.indexOf(': ')
|
||||
colonIndex = line.indexOf(':')
|
||||
matchInfo = line.substring(0, colonIndex)
|
||||
lineText = line.substring(colonIndex + 2)
|
||||
lineText = line.substring(colonIndex + 1)
|
||||
readMatches(matchInfo, lineText)
|
||||
|
||||
readMatches = (matchInfo, lineText) ->
|
||||
|
||||
Reference in New Issue
Block a user