# Verify \`Anchor::buffer_id\` before resolving it or comparing it · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e70b728758ddd90f71d74a7d43fc976f33715c72)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e70b728758ddd90f71d74a7d43fc976f33715c72

Requested commit: e70b728758ddd90f71d74a7d43fc976f33715c72

Commit: e70b728758ddd90f71d74a7d43fc976f33715c72

Tree: 2e04328377e116eab2ba6b0fad3b0a7ed21a399b

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Verify `Anchor::buffer_id` before resolving it or comparing it

This commit also verifies some properties about anchor resolution in the
multibuffer randomized test.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

- [2d5e72251ec6b94ab13fca2269ccdd6ce510ef64](https://git.cafe/gitcafe/zed/commit/2d5e72251ec6b94ab13fca2269ccdd6ce510ef64?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e70b728758ddd90f71d74a7d43fc976f33715c72?format=markdown)
