diff options
author | 2020-08-02 09:54:53 -0400 | |
---|---|---|
committer | 2020-08-02 09:54:53 -0400 | |
commit | 9f6ef24202a9b30a873d1b2dc070d2443b4359f8 (patch) | |
tree | 02fede8e985f3a5bd05848397e0768726df420f6 /test | |
parent | 3187c4d5b0247aba17b9414739e9705bf0f073b4 (diff) | |
download | textadept-9f6ef24202a9b30a873d1b2dc070d2443b4359f8.tar.gz textadept-9f6ef24202a9b30a873d1b2dc070d2443b4359f8.zip |
Fixed regression with showing "No results found" in searches.
Diffstat (limited to 'test')
-rw-r--r-- | test/test.lua | 1 |
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) |