summaryrefslogtreecommitdiff
path: root/tests/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.lua')
-rw-r--r--tests/run.lua6
1 files changed, 6 insertions, 0 deletions
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)