# Fix off-by-one error in SinglyLinkedList.len\(\) and add associated tests · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fc3508b7e86c27effea26c1026b2c86afb487932)

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

Visibility: public

Requested revision: fc3508b7e86c27effea26c1026b2c86afb487932

Requested commit: fc3508b7e86c27effea26c1026b2c86afb487932

Commit: fc3508b7e86c27effea26c1026b2c86afb487932

Tree: 29910fd1467a7ea933edff2ca04c9bd20d27e3d6

Author: J.C\. Moyer

Committer: Andrew Kelley

## Message

```
Fix off-by-one error in SinglyLinkedList.len() and add associated tests

```

## Parents

- [a93c123f83f8440c40fa5cf2d5a84761b37ab45d](https://git.cafe/gitcafe/zig/commit/a93c123f83f8440c40fa5cf2d5a84761b37ab45d?format=markdown)

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