From faa4a7a22a1e1022b4a826dd8713cd4a0ff4a37b Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Fri, 4 Sep 2026 12:43:05 +0200 Subject: Use effective migration descriptor --- tests/run.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/run.lua b/tests/run.lua index e569cbb..e9c91b1 100644 --- a/tests/run.lua +++ b/tests/run.lua @@ -6507,6 +6507,12 @@ test("Direction-changing repeated TILL rebuilds feedback", function() migration.reason ) falsy(first.identity == migration.overlay.identity) + same(domain.Descriptor.TILL_BACKWARD, migration.overlay.descriptor) + local rebuilt = host:highlights()[migration.overlay.identity] + same(domain.Descriptor.TILL_BACKWARD, rebuilt.descriptor) + same(domain.EndpointPolicy.REGULAR, rebuilt.endpoint_policy) + same(domain.Position.new(1, 3), rebuilt.positions[1]) + same(domain.Position.new(1, 5), rebuilt.positions[2]) same(nil, host:highlights()[first.identity]) same(1, #state.target_overlays) end) -- cgit v1.2.3