Increase strictness of cycle validation

This commit is contained in:
Hanno Braun 2022-10-12 15:02:13 +02:00
parent f1fabce5da
commit 96cd9fb57a

View File

@ -48,8 +48,8 @@ impl Cycle {
let [next, _] = b.vertices(); let [next, _] = b.vertices();
assert_eq!( assert_eq!(
prev.surface_form(), prev.surface_form().id(),
next.surface_form(), next.surface_form().id(),
"Edges in cycle do not connect" "Edges in cycle do not connect"
); );
} }