[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Typo in test suite (all.lua)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 14 Apr 2014 14:22:18 -0300
> 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.
Thanks for the report. In fact, this line can be (and will be) removed
without any effect.
-- Roberto