The yaml constraint now compares the anchors

The failure message line indicates the kind of mismatch.