@@ -20,7 +20,7 @@ describe('git-command-manager integration tests', () => {
20
20
expect ( initialCommit . signed ) . toBeFalsy ( )
21
21
expect ( initialCommit . changes [ 0 ] . mode ) . toEqual ( '100644' )
22
22
expect ( initialCommit . changes [ 0 ] . status ) . toEqual ( 'A' )
23
- expect ( initialCommit . changes [ 0 ] . path ) . toEqual ( 'README_TEMP .md' )
23
+ expect ( initialCommit . changes [ 0 ] . path ) . toEqual ( 'README→TEMP .md' ) // filename contains unicode
24
24
25
25
expect ( emptyCommit . subject ) . toEqual ( 'empty commit for tests' )
26
26
expect ( emptyCommit . tree ) . toEqual ( initialCommit . tree ) // empty commits have no tree and reference the parent's
@@ -33,7 +33,7 @@ describe('git-command-manager integration tests', () => {
33
33
expect ( modifiedCommit . signed ) . toBeFalsy ( )
34
34
expect ( modifiedCommit . changes [ 0 ] . mode ) . toEqual ( '100644' )
35
35
expect ( modifiedCommit . changes [ 0 ] . status ) . toEqual ( 'M' )
36
- expect ( modifiedCommit . changes [ 0 ] . path ) . toEqual ( 'README_TEMP .md' )
36
+ expect ( modifiedCommit . changes [ 0 ] . path ) . toEqual ( 'README→TEMP .md' )
37
37
38
38
expect ( headCommit . subject ) . toEqual ( 'rename readme' )
39
39
expect ( headCommit . parents [ 0 ] ) . toEqual ( modifiedCommit . sha )
@@ -43,6 +43,6 @@ describe('git-command-manager integration tests', () => {
43
43
expect ( headCommit . changes [ 0 ] . path ) . toEqual ( 'README.md' )
44
44
expect ( headCommit . changes [ 1 ] . mode ) . toEqual ( '100644' )
45
45
expect ( headCommit . changes [ 1 ] . status ) . toEqual ( 'D' )
46
- expect ( headCommit . changes [ 1 ] . path ) . toEqual ( 'README_TEMP .md' )
46
+ expect ( headCommit . changes [ 1 ] . path ) . toEqual ( 'README→TEMP .md' )
47
47
} )
48
48
} )
0 commit comments