mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Remove quotes from title string
This commit is contained in:
@@ -171,7 +171,7 @@ describe "RootView", ->
|
||||
it "update the title to contain the project's path", ->
|
||||
rootView.getActivePane().remove()
|
||||
expect(rootView.getActivePaneItem()).toBeUndefined()
|
||||
expect(rootView.title).toBe "#{project.getPath()}"
|
||||
expect(rootView.title).toBe project.getPath()
|
||||
|
||||
describe "when an inactive pane's item changes", ->
|
||||
it "does not update the title", ->
|
||||
|
||||
@@ -195,7 +195,7 @@ class RootView extends View
|
||||
if item = @getActivePaneItem()
|
||||
@setTitle("#{item.getTitle?() ? 'untitled'} - #{projectPath}")
|
||||
else
|
||||
@setTitle("#{projectPath}")
|
||||
@setTitle(projectPath)
|
||||
else
|
||||
@setTitle('untitled')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user