From fceb1a37df623649d191c3c1a881e5b0538b1391 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 3 Mar 2020 19:39:02 -0500 Subject: Added test suite and API type checking for more helpful error messages. --- test/modules/textadept/run/build.lua | 2 ++ test/modules/textadept/run/compile.lua | 2 ++ test/modules/textadept/run/run.lua | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 test/modules/textadept/run/build.lua create mode 100644 test/modules/textadept/run/compile.lua create mode 100644 test/modules/textadept/run/run.lua (limited to 'test/modules/textadept/run') diff --git a/test/modules/textadept/run/build.lua b/test/modules/textadept/run/build.lua new file mode 100644 index 00000000..dd288778 --- /dev/null +++ b/test/modules/textadept/run/build.lua @@ -0,0 +1,2 @@ +print('read "' .. io.read() .. '"') +io.read() diff --git a/test/modules/textadept/run/compile.lua b/test/modules/textadept/run/compile.lua new file mode 100644 index 00000000..0645da72 --- /dev/null +++ b/test/modules/textadept/run/compile.lua @@ -0,0 +1,2 @@ +-- Missing 'end' +function foo() diff --git a/test/modules/textadept/run/run.lua b/test/modules/textadept/run/run.lua new file mode 100644 index 00000000..a61508e9 --- /dev/null +++ b/test/modules/textadept/run/run.lua @@ -0,0 +1,2 @@ +print('lua: run.lua:1: warning: foo') +foo() -- cgit v1.2.3