Commit 98e3740
tests: declare the Lua engine for the LuaLibrary tests
Scribunto 1.46 requires each LuaEngineTestBase subclass to declare its engine
via getEngineName(); the previous "one class exercises every engine"
data-provider pattern is deprecated. Without it the LuaLibrary tests error on
1.46+ with "must implement getEngineName()". Target LuaStandalone, whose
interpreter Scribunto bundles, so the tests run in CI without installing a Lua
extension.
Pre-1.46 MediaWiki does not call getEngineName() (it runs every configured
engine through its own suite() machinery), so the method is inert there: the
REL1_43 to REL1_45 rows are unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 86a5b79 commit 98e3740
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
0 commit comments