This commit is contained in:
Paul Gauthier 2023-06-20 16:59:55 -07:00
parent 02c9a30c45
commit f1350f169f
5 changed files with 167 additions and 154 deletions

View file

@ -200,7 +200,6 @@ These changes replace the `subprocess.run` patches with `subprocess.check_output
self.assertEqual(edit_blocks[0][0], "tests/test_repomap.py")
self.assertEqual(edit_blocks[1][0], "tests/test_repomap.py")
def test_replace_part_with_missing_leading_whitespace(self):
whole = " line1\n line2\n line3\n"
part = "line1\nline2"
@ -210,5 +209,6 @@ These changes replace the `subprocess.run` patches with `subprocess.check_output
result = utils.replace_part_with_missing_leading_whitespace(whole, part, replace)
self.assertEqual(result, expected_output)
if __name__ == "__main__":
unittest.main()