Rename test data files according to test numbers
This commit is contained in:
@@ -14,9 +14,11 @@ func main() {
|
||||
defer L.Close()
|
||||
|
||||
// Load the Lua script file.
|
||||
log.Info("Loading ./test_data/01-test.lua")
|
||||
log.Info("Loading ./test_data/02-test.lua")
|
||||
|
||||
luaCode, err := os.ReadFile("./test_data/01-test.lua")
|
||||
// We can execute script directly via L.DoFile("./test_data/02-test.lua") but in practice we'll get scripts as
|
||||
// strings - snippets from templates - so, testing/checking how it works is not use for project.
|
||||
luaCode, err := os.ReadFile("./test_data/02-test.lua")
|
||||
|
||||
if err != nil {
|
||||
log.Errorf("Error reading Lua file: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user