summaryrefslogtreecommitdiff
path: root/gtest/script/end_expected.lua
diff options
context:
space:
mode:
authorpengxuanzheng <[email protected]>2020-08-24 17:10:55 +0800
committerpengxuanzheng <[email protected]>2020-08-24 17:10:55 +0800
commit503f4af4d8514913eb2ad0405b557abfd4326976 (patch)
tree5dd4f67e39f543c1cb1e2048eae0c0f720691c58 /gtest/script/end_expected.lua
Initial commit
Diffstat (limited to 'gtest/script/end_expected.lua')
-rw-r--r--gtest/script/end_expected.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtest/script/end_expected.lua b/gtest/script/end_expected.lua
new file mode 100644
index 0000000..fb1dfcb
--- /dev/null
+++ b/gtest/script/end_expected.lua
@@ -0,0 +1,3 @@
+local str = tsg.data
+if str then
+return string.len(str), str