Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master

Add unit test for crash-on-empty-walk

Changeset 3b3c8febf5aa

Parent 310f68256a6e

by Profile picture of User 12Benjamin Pollack <benjamin@fogcreek.com>

Changes to one file · Browse files at 3b3c8febf5aa Showing diff from parent 310f68256a6e Diff from another changeset...

 
410
411
412
 
 
 
 
 
410
411
412
413
414
415
416
@@ -410,3 +410,7 @@
  # Ensure that c1..y4 get excluded even though they're popped from the   # priority queue long before y5.   self.assertWalkYields([m6, x2], [m6.id], exclude=[y5.id]) + + def test_empty_walk(self): + c1, c2, c3 = self.make_linear_commits(3) + self.assertWalkYields([], [c3.id], exclude=[c3.id])