# frontend: fix populateTestFunctions accessing the wrong module · gitcafe/zig

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

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

Visibility: public

Requested revision: 196ddf010c97f2faf69513e61099a233d4270795

Requested commit: 196ddf010c97f2faf69513e61099a233d4270795

Commit: 196ddf010c97f2faf69513e61099a233d4270795

Tree: 14a3e4630e0cba5cab0434b7717bea092b5123c4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
frontend: fix populateTestFunctions accessing the wrong module

The test runner reads the list of test function pointers from its own
builtin module, which is the root_mod, not main_mod.

```

## Parents

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

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