package_caller_test
Test fixture used by the package-caller / relative-require tests. Loads a sibling module via the `~.` relative-require prefix so a test can assert that the resolution works from module load.
# package_caller_test Test fixture used by the package-caller / relative-require tests. Loads a sibling module via the `~.` relative-require prefix so a test can assert that the resolution works from module load. ## Exports - `M.sibling: any` — the module returned by `require('~.transform')`. ## Usage ```luau local fixture = require("@builtin::modules.package_caller_test") assert(fixture.sibling ~= nil) ``` ## Notes - This module exists only to exercise the `~.` relative-require path. It carries no behaviour of its own. - The require runs at module load — the test asserts resolution success by the fact that the module body did not throw.
modulepathmodules/package_caller_test.module/init.luauconforms tozero/source-extract/v2Scoped to this part · feeds back into the world's score.