mirror of
https://gitcode.com/JianFeeeee/LuaCangjia_api.git
synced 2026-09-20 00:48:47 +00:00
修复描述性错误,完善测试
This commit is contained in:
2
test/scripts/pipeline_add_prefix.lua
Normal file
2
test/scripts/pipeline_add_prefix.lua
Normal file
@ -0,0 +1,2 @@
|
||||
local input = ...
|
||||
return "[PREFIX] " .. input
|
||||
2
test/scripts/pipeline_add_suffix.lua
Normal file
2
test/scripts/pipeline_add_suffix.lua
Normal file
@ -0,0 +1,2 @@
|
||||
local input = ...
|
||||
return input .. " [SUFFIX]"
|
||||
2
test/scripts/pipeline_generate_data.lua
Normal file
2
test/scripts/pipeline_generate_data.lua
Normal file
@ -0,0 +1,2 @@
|
||||
local input = ...
|
||||
return input
|
||||
2
test/scripts/pipeline_to_upper.lua
Normal file
2
test/scripts/pipeline_to_upper.lua
Normal file
@ -0,0 +1,2 @@
|
||||
local input = ...
|
||||
return string.upper(input)
|
||||
1
test/scripts/pkgmods/mylib.lua
Normal file
1
test/scripts/pkgmods/mylib.lua
Normal file
@ -0,0 +1 @@
|
||||
return "LoadedViaPkgPath"
|
||||
1
test/scripts/pkgmods_init/nestedpkg/init.lua
Normal file
1
test/scripts/pkgmods_init/nestedpkg/init.lua
Normal file
@ -0,0 +1 @@
|
||||
return "LoadedViaInit"
|
||||
1
test/scripts/pkgpath_require_mylib.lua
Normal file
1
test/scripts/pkgpath_require_mylib.lua
Normal file
@ -0,0 +1 @@
|
||||
return require("mylib")
|
||||
1
test/scripts/pkgpath_require_nested.lua
Normal file
1
test/scripts/pkgpath_require_nested.lua
Normal file
@ -0,0 +1 @@
|
||||
return require("nestedpkg")
|
||||
Reference in New Issue
Block a user