We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b3845 commit a3c3efdCopy full SHA for a3c3efd
git/test/test_diff.py
@@ -121,6 +121,8 @@ def test_diff_with_copied_file(self):
121
122
diff = diffs[0]
123
assert_true(diff.copied_file)
124
+ assert_true(diff.a_path, u'test1.txt')
125
+ assert_true(diff.b_path, u'test2.txt')
126
assert isinstance(str(diff), str)
127
128
output = StringProcessAdapter(fixture('diff_copied_mode_raw'))
@@ -129,9 +131,10 @@ def test_diff_with_copied_file(self):
129
131
130
132
self.assertEqual(diff.change_type, 'C')
133
self.assertEqual(diff.score, 100)
134
+ self.assertEqual(diff.a_path, u'test1.txt')
135
+ self.assertEqual(diff.b_path, u'test2.txt')
136
self.assertEqual(len(list(diffs.iter_change_type('C'))), 1)
137
-
138
def test_diff_with_change_in_type(self):
139
output = StringProcessAdapter(fixture('diff_change_in_type'))
140
diffs = Diff._index_from_patch_format(self.rorepo, output)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments