@@ -161,16 +161,17 @@ def test_diff_unsafe_paths(self):
161161 self .assertEqual (res [6 ].b_path , u'path/with spaces' )
162162 self .assertEqual (res [7 ].b_path , u'path/with-question-mark?' )
163163 self .assertEqual (res [8 ].b_path , u'path/¯\\ _(ツ)_|¯' )
164+ self .assertEqual (res [9 ].b_path , u'path/💩.txt' )
164165
165166 # The "Moves"
166167 # NOTE: The path prefixes a/ and b/ here are legit! We're actually
167168 # verifying that it's not "a/a/" that shows up, see the fixture data.
168- self .assertEqual (res [9 ].a_path , u'a/with spaces' ) # NOTE: path a/ here legit!
169- self .assertEqual (res [9 ].b_path , u'b/with some spaces' ) # NOTE: path b/ here legit!
170- self .assertEqual (res [10 ].a_path , u'a/ending in a space ' )
171- self .assertEqual (res [10 ].b_path , u'b/ending with space ' )
172- self .assertEqual (res [11 ].a_path , u'a/"with-quotes"' )
173- self .assertEqual (res [11 ].b_path , u'b/"with even more quotes"' )
169+ self .assertEqual (res [10 ].a_path , u'a/with spaces' ) # NOTE: path a/ here legit!
170+ self .assertEqual (res [10 ].b_path , u'b/with some spaces' ) # NOTE: path b/ here legit!
171+ self .assertEqual (res [11 ].a_path , u'a/ending in a space ' )
172+ self .assertEqual (res [11 ].b_path , u'b/ending with space ' )
173+ self .assertEqual (res [12 ].a_path , u'a/"with-quotes"' )
174+ self .assertEqual (res [12 ].b_path , u'b/"with even more quotes"' )
174175
175176 def test_diff_patch_format (self ):
176177 # test all of the 'old' format diffs for completness - it should at least
0 commit comments