aboutsummaryrefslogtreecommitdiff
path: root/test/modules
diff options
context:
space:
mode:
Diffstat (limited to 'test/modules')
-rw-r--r--test/modules/textadept/editing/api24
-rw-r--r--test/modules/textadept/run/build.lua2
-rw-r--r--test/modules/textadept/run/compile.lua2
-rw-r--r--test/modules/textadept/run/run.lua2
-rw-r--r--test/modules/textadept/snippets/bar1
-rw-r--r--test/modules/textadept/snippets/baz.txt1
-rw-r--r--test/modules/textadept/snippets/lua.bar1
-rw-r--r--test/modules/textadept/snippets/lua.baz.lua1
8 files changed, 14 insertions, 0 deletions
diff --git a/test/modules/textadept/editing/api2 b/test/modules/textadept/editing/api2
new file mode 100644
index 00000000..1f4e05ff
--- /dev/null
+++ b/test/modules/textadept/editing/api2
@@ -0,0 +1,4 @@
+foo2 Foo2
+bar2 Bar2
+baz2 Baz2
+quux2 Quux2
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()
diff --git a/test/modules/textadept/snippets/bar b/test/modules/textadept/snippets/bar
new file mode 100644
index 00000000..76018072
--- /dev/null
+++ b/test/modules/textadept/snippets/bar
@@ -0,0 +1 @@
+baz
diff --git a/test/modules/textadept/snippets/baz.txt b/test/modules/textadept/snippets/baz.txt
new file mode 100644
index 00000000..d90bda0f
--- /dev/null
+++ b/test/modules/textadept/snippets/baz.txt
@@ -0,0 +1 @@
+quux
diff --git a/test/modules/textadept/snippets/lua.bar b/test/modules/textadept/snippets/lua.bar
new file mode 100644
index 00000000..d90bda0f
--- /dev/null
+++ b/test/modules/textadept/snippets/lua.bar
@@ -0,0 +1 @@
+quux
diff --git a/test/modules/textadept/snippets/lua.baz.lua b/test/modules/textadept/snippets/lua.baz.lua
new file mode 100644
index 00000000..5716ca59
--- /dev/null
+++ b/test/modules/textadept/snippets/lua.baz.lua
@@ -0,0 +1 @@
+bar