diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-09-10 10:36:47 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-09-10 10:36:47 +0100 |
commit | 65b03cd7e7c56b490895cd0f41687863beadea3e (patch) | |
tree | 07b752ce7e458802929c473560404a7fcd63636b /test/functional/lua/miltertest/mt3.lua | |
parent | 8128b539535d3c8df974ac2fee7d673f5d3c5502 (diff) | |
download | rspamd-65b03cd7e7c56b490895cd0f41687863beadea3e.tar.gz rspamd-65b03cd7e7c56b490895cd0f41687863beadea3e.zip |
[Test] Use dofile instead of require
require implies module loading via standard mechanism (which is have to present in LUA_PATH). Here we just load the specific files.
Diffstat (limited to 'test/functional/lua/miltertest/mt3.lua')
-rw-r--r-- | test/functional/lua/miltertest/mt3.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/miltertest/mt3.lua b/test/functional/lua/miltertest/mt3.lua index 1fc1cc4be..6b30126e5 100644 --- a/test/functional/lua/miltertest/mt3.lua +++ b/test/functional/lua/miltertest/mt3.lua @@ -1,7 +1,7 @@ print('Check we will rewrite subjects') -require './lib' -require './data' +dofile './lib.lua' +dofile './data.lua' setup() |