diff options
Diffstat (limited to 'test/test.lua')
-rw-r--r-- | test/test.lua | 7 |
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 |