assertCursorAt

Assert that the cursor is at pos.

Checks the head of the main selection range.