aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.lua')
-rw-r--r--test/test.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test.lua b/test/test.lua
index daffec91..a8c25164 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -3494,6 +3494,13 @@ function test_snippets_find_snippet()
table.remove(textadept.snippets.paths, 1)
end
+function test_snippets_expand_lexer_name()
+ buffer.new()
+ buffer:add_text('lua')
+ assert(textadept.snippets.insert() == nil, 'snippet not inserted')
+ buffer:close(true)
+end
+
function test_snippets_match_indentation()
local snippet = '\t foo'
-- LuaFormatter off