mirror of
https://github.com/desktop/desktop
synced 2024-09-19 16:12:20 +00:00
update test fixture to have a pending delete
This commit is contained in:
parent
1ab034cd03
commit
b095051dd6
|
@ -1 +1 @@
|
|||
committed example files
|
||||
adding a file before making it deleted
|
||||
|
|
BIN
app/test/fixtures/repo-with-changes/_git/index
vendored
BIN
app/test/fixtures/repo-with-changes/_git/index
vendored
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
0000000000000000000000000000000000000000 d58e96fe19478eebf7b553e8a1bdc189fc5132da Brendan Forster <brendan@github.com> 1469612762 +1000 commit (initial): committed example files
|
||||
d58e96fe19478eebf7b553e8a1bdc189fc5132da 55ea5e9590b4ebf18c72cd34471e772681d614b7 Brendan Forster <brendan@github.com> 1472011195 +1000 commit: adding a file before making it deleted
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
0000000000000000000000000000000000000000 d58e96fe19478eebf7b553e8a1bdc189fc5132da Brendan Forster <brendan@github.com> 1469612762 +1000 commit (initial): committed example files
|
||||
d58e96fe19478eebf7b553e8a1bdc189fc5132da 55ea5e9590b4ebf18c72cd34471e772681d614b7 Brendan Forster <brendan@github.com> 1472011195 +1000 commit: adding a file before making it deleted
|
||||
|
|
BIN
app/test/fixtures/repo-with-changes/_git/objects/2c/3891fd2aedc399acd56364b10e198c917e999a
vendored
Normal file
BIN
app/test/fixtures/repo-with-changes/_git/objects/2c/3891fd2aedc399acd56364b10e198c917e999a
vendored
Normal file
Binary file not shown.
2
app/test/fixtures/repo-with-changes/_git/objects/55/ea5e9590b4ebf18c72cd34471e772681d614b7
vendored
Normal file
2
app/test/fixtures/repo-with-changes/_git/objects/55/ea5e9590b4ebf18c72cd34471e772681d614b7
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
x<01><>AjÃ0E»Ö)f_(ɲ5JÈ"÷iF‰ilU¾rƒnßÿþÏuÛÖ.ÐGoªà²<C3A0>„E«dOÄYÂìç)¡U¤˜ ¥<>Í“›î$D¥¹ŒlZ¢j*K
|
||||
ÁkdL’1Rɽ6|ô{mp–ð×Ú~»68¥78ßÖ~?ÒW®Û7à´8‹ˆàµfбòÕÿŸoXdÝoÀPÖ‡BÒR›ÂÆ?/8î‹>´«˜?ΉT(
|
|
@ -1 +1 @@
|
|||
d58e96fe19478eebf7b553e8a1bdc189fc5132da
|
||||
55ea5e9590b4ebf18c72cd34471e772681d614b7
|
||||
|
|
|
@ -110,7 +110,7 @@ describe('LocalGitOperations', () => {
|
|||
|
||||
// verify that changes remain for this new file
|
||||
const status = await LocalGitOperations.getStatus(repository!)
|
||||
expect(status.workingDirectory.files.length).to.equal(3)
|
||||
expect(status.workingDirectory.files.length).to.equal(4)
|
||||
|
||||
// verify that the file is now tracked
|
||||
const fileChange = find(status.workingDirectory.files, f => f.path === newFileName)
|
||||
|
@ -154,7 +154,7 @@ describe('LocalGitOperations', () => {
|
|||
|
||||
// verify that changes remain for this modified file
|
||||
const status = await LocalGitOperations.getStatus(repository!)
|
||||
expect(status.workingDirectory.files.length).to.equal(3)
|
||||
expect(status.workingDirectory.files.length).to.equal(4)
|
||||
|
||||
// verify that the file is still marked as modified
|
||||
const fileChange = find(status.workingDirectory.files, f => f.path === modifiedFile)
|
||||
|
@ -200,7 +200,7 @@ describe('LocalGitOperations', () => {
|
|||
|
||||
// verify that changes remain for this modified file
|
||||
const status = await LocalGitOperations.getStatus(repository!)
|
||||
expect(status.workingDirectory.files.length).to.equal(3)
|
||||
expect(status.workingDirectory.files.length).to.equal(4)
|
||||
|
||||
// verify that the file is still marked as modified
|
||||
const fileChange = find(status.workingDirectory.files, f => f.path === modifiedFile)
|
||||
|
|
Loading…
Reference in a new issue