Fixed fail new file save :w

This commit is contained in:
henteko 2016-08-09 00:58:29 +09:00
parent a59a6f9364
commit 93a56c75ce
2 changed files with 2 additions and 6 deletions

View file

@ -117,7 +117,7 @@ describe "the commands", ->
newPath = path.resolve(dir, fs.normalize(newPath))
expect(fs.existsSync(newPath)).toBe(true)
expect(fs.readFileSync(newPath, 'utf-8')).toEqual('abc')
expect(editor.isModified()).toBe(true)
expect(editor.isModified()).toBe(false)
fs.removeSync(newPath)
it "saves to the path", ->