| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -116,7 +116,7 @@ def test_diff_index(self): | |||
| 116 | 116 | res = Diff._index_from_patch_format(None, output.stdout) | |
| 117 | 117 | assert len(res) == 6 | |
| 118 | 118 | for dr in res: | |
| 119 | - assert dr.diff | ||
| 119 | + assert dr.diff.startswith(b'@@') | ||
| 120 | 120 | assert str(dr), "Diff to string conversion should be possible" | |
| 121 | 121 | # end for each diff | |
| 122 | 122 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments