aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-12-14 10:08:09 -0500
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-12-14 10:08:09 -0500
commit9a91848fc752a364f16724f564288bcc20d6a63a (patch)
tree52ac624111cf79a0f0fc2be5ccd334b49e2d4937 /test
parent0f9d6f917173b1a22559fc42d12bbfc9bf4e783c (diff)
Propagate Tab key to insert \t if necessary for previous commit.
Diffstat (limited to 'test')
-rw-r--r--test/test.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.lua b/test/test.lua
index a8c25164..ae1b052b 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -3494,10 +3494,10 @@ function test_snippets_find_snippet()
table.remove(textadept.snippets.paths, 1)
end
-function test_snippets_expand_lexer_name()
+function test_snippets_no_expand_lexer_name()
buffer.new()
buffer:add_text('lua')
- assert(textadept.snippets.insert() == nil, 'snippet not inserted')
+ assert(textadept.snippets.insert() == false, 'snippet not inserted')
buffer:close(true)
end