build(broccoli): reorder tree-differ specs

This commit is contained in:
Igor Minar 2015-05-27 18:30:04 -07:00
parent 05becf8431
commit b14417498a
1 changed files with 31 additions and 31 deletions

View File

@ -297,7 +297,6 @@ describe('TreeDiffer', () => {
let diffResult = differ.diffTree();
expect(diffResult.changedPaths).toEqual(['file-2.txt']);
});
});
it('should detect file additions mixed with file changes', () => {
@ -316,6 +315,7 @@ describe('TreeDiffer', () => {
let diffResult = differ.diffTree();
expect(diffResult.changedPaths).toEqual(['file-1.txt', 'file-2.txt']);
});
});
describe('diff of removed files', () => {
@ -337,7 +337,6 @@ describe('TreeDiffer', () => {
expect(diffResult.changedPaths).toEqual([]);
expect(diffResult.removedPaths).toEqual(['file-1.txt']);
});
});
it('should detect file removals mixed with file changes and additions', () => {
@ -363,3 +362,4 @@ describe('TreeDiffer', () => {
expect(diffResult.removedPaths).toEqual(['file-2.txt']);
});
});
});