diff options
| author | “pengxuanzheng” <[email protected]> | 2022-06-01 10:23:29 +0000 |
|---|---|---|
| committer | “pengxuanzheng” <[email protected]> | 2022-06-01 10:59:33 +0000 |
| commit | d229dcfa923d4ff7013c825fc4d2f2c4dbdb850a (patch) | |
| tree | c7acba75bdce477a271f5e7f68e2a0c5e9877580 /gtest/script | |
| parent | 60d7653f8a813f91c40a342d2ca4260002638986 (diff) | |
✨ feat: 根据cppcheck 修改example, 增加lua 测试用例
Diffstat (limited to 'gtest/script')
| -rw-r--r-- | gtest/script/return_string_normal_sharp.lua | 4 | ||||
| -rw-r--r-- | gtest/script/return_string_normal_sharp.luajit | bin | 0 -> 66 bytes |
2 files changed, 4 insertions, 0 deletions
diff --git a/gtest/script/return_string_normal_sharp.lua b/gtest/script/return_string_normal_sharp.lua new file mode 100644 index 0000000..fd5c3e8 --- /dev/null +++ b/gtest/script/return_string_normal_sharp.lua @@ -0,0 +1,4 @@ +#!/usr/local/bin/luajit + +local str = TSG.data +return string.len(str), str diff --git a/gtest/script/return_string_normal_sharp.luajit b/gtest/script/return_string_normal_sharp.luajit Binary files differnew file mode 100644 index 0000000..e32af68 --- /dev/null +++ b/gtest/script/return_string_normal_sharp.luajit |
