lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


While working on Lunia I noticed a small typo/bug in the all.lua test script.

Line 40:
package.path = "?;./?.lua" .. package.path

Correction:
package.path = "?;./?.lua;" .. package.path

The original line is missing a semicolon which causes the "./?.lua" portion of the search path to be concatenated with the next entry, which on my system results in "./?.lua/usr/local/share/lua/5.3/?.lua" instead of "./?.lua;/usr/local/share/lua/5.3/?.lua".

This typo does not affect my tests, actually the entire line can be commented out without any ill effect, but I thought I would report it so it could be fixed in case it causes issues for tests I may not have enabled.

~pmd~