aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-08-02 09:54:53 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-08-02 09:54:53 -0400
commit9f6ef24202a9b30a873d1b2dc070d2443b4359f8 (patch)
tree02fede8e985f3a5bd05848397e0768726df420f6 /test
parent3187c4d5b0247aba17b9414739e9705bf0f073b4 (diff)
downloadtextadept-9f6ef24202a9b30a873d1b2dc070d2443b4359f8.tar.gz
textadept-9f6ef24202a9b30a873d1b2dc070d2443b4359f8.zip
Fixed regression with showing "No results found" in searches.
Diffstat (limited to 'test')
-rw-r--r--test/test.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test.lua b/test/test.lua
index cd88b795..68125dd7 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -2093,6 +2093,7 @@ function test_ui_find_find_text()
ui.find.find_entry_text = 'quux'
ui.find.find_next()
assert_equal(buffer.selection_start, buffer.selection_end) -- no match
+ assert_equal(events.emit(events.FIND, 'not found'), -1) -- simulate Find Next
ui.find.match_case, ui.find.regex = false, false
ui.find.find_entry_text = ''
buffer:close(true)