Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 6db6014

Browse files
committed
Merge pull request #4487 from adobe/pflynn/untitled-doc-unittests
Fix bug #4480 (Save/Close All wrt canceled untitled saves) & add more unit tests
2 parents ec91e61 + 2151ba8 commit 6db6014

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/spec/DocumentCommandHandlers-test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ define(function (require, exports, module) {
336336
// Multiple untitled documents
337337

338338
it("multiple untitled documents shouldn't conflict", function () {
339-
340339
createUntitled(3);
341340

342341
runs(function () {
@@ -441,7 +440,6 @@ define(function (require, exports, module) {
441440
createUntitled(3);
442441

443442
runs(function () {
444-
445443
var fileI = 0;
446444
spyOn(testWindow.brackets.fs, 'showSaveDialog').andCallFake(function (dialogTitle, initialPath, proposedNewName, callback) {
447445
if (fileI === 0) {
@@ -546,6 +544,7 @@ define(function (require, exports, module) {
546544
// ProjectManager.createNewItem() is tightly coupled to jstree UI and
547545
// events.
548546

547+
549548
describe("Close File", function () {
550549
it("should complete without error if no files are open", function () {
551550
var promise;

0 commit comments

Comments
 (0)