diff options
author | V1K1NGbg <victor@ilchev.com> | 2024-08-22 17:49:09 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-08-22 17:49:09 -0300 |
commit | f6a74da552bf60c258922f20f0ca78a68780b8d5 (patch) | |
tree | 3d0ad83b8cd2c76e9b996e656d5c5e43d71807bd | |
parent | 8c291eb8c33339a1f5709438339be0f7a4806243 (diff) | |
download | luarocks-f6a74da552bf60c258922f20f0ca78a68780b8d5.tar.gz luarocks-f6a74da552bf60c258922f20f0ca78a68780b8d5.tar.bz2 luarocks-f6a74da552bf60c258922f20f0ca78a68780b8d5.zip |
Teal: add type definition module luarocks.core.types.testrunner
-rw-r--r-- | src/luarocks/core/types/testrunner.d.tl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/luarocks/core/types/testrunner.d.tl b/src/luarocks/core/types/testrunner.d.tl new file mode 100644 index 00000000..e310504d --- /dev/null +++ b/src/luarocks/core/types/testrunner.d.tl | |||
@@ -0,0 +1,9 @@ | |||
1 | local type Test = require("luarocks.core.types.rockspec").Test | ||
2 | |||
3 | local record testrunner | ||
4 | record TestRunner | ||
5 | detect_type: function(): boolean | ||
6 | run_tests: function(Test, {string}): boolean, string | ||
7 | end | ||
8 | end | ||
9 | return testrunner \ No newline at end of file | ||