This commit is contained in:
henteko 2016-08-14 19:51:45 +00:00 committed by GitHub
commit cd2c102529
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", ->