~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testinv.py

  • Committer: Aaron Bentley
  • Date: 2005-11-11 17:46:11 UTC
  • mto: (1185.65.2 bzr.revision-storage)
  • mto: This revision was merged to the branch mainline in revision 1509.
  • Revision ID: aaron.bentley@utoronto.ca-20051111174611-05c622f83aca3d78
Support whitespace in diff filenames

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
                          "old_label", self.tree_1,
165
165
                          "/dev/null", None, None,
166
166
                          output)
167
 
        self.assertEqual(output.getvalue(), "--- old_label\n"
168
 
                                            "+++ /dev/null\n"
 
167
        self.assertEqual(output.getvalue(), "--- old_label\t\n"
 
168
                                            "+++ /dev/null\t\n"
169
169
                                            "@@ -1,1 +0,0 @@\n"
170
170
                                            "-foo\n"
171
171
                                            "\n")
176
176
                          "new_label", self.tree_1,
177
177
                          "/dev/null", None, None,
178
178
                          output, reverse=True)
179
 
        self.assertEqual(output.getvalue(), "--- /dev/null\n"
180
 
                                            "+++ new_label\n"
 
179
        self.assertEqual(output.getvalue(), "--- /dev/null\t\n"
 
180
                                            "+++ new_label\t\n"
181
181
                                            "@@ -0,0 +1,1 @@\n"
182
182
                                            "+foo\n"
183
183
                                            "\n")
188
188
                          "/dev/null", self.tree_1, 
189
189
                          "new_label", self.file_2, self.tree_2,
190
190
                          output)
191
 
        self.assertEqual(output.getvalue(), "--- /dev/null\n"
192
 
                                            "+++ new_label\n"
 
191
        self.assertEqual(output.getvalue(), "--- /dev/null\t\n"
 
192
                                            "+++ new_label\t\n"
193
193
                                            "@@ -1,1 +1,1 @@\n"
194
194
                                            "-foo\n"
195
195
                                            "+bar\n"