diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-07-16 08:33:05 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-07-16 08:33:05 -0700 |
commit | c26b377ab3455a2c5b90ec0fa34fce11b271bf72 (patch) | |
tree | 51f6769d7b52656f482dcea127ad59741f66a54c | |
parent | a2b654b5349c69c3404014cecdd24b7035069f68 (diff) | |
download | view.love-c26b377ab3455a2c5b90ec0fa34fce11b271bf72.tar.gz |
more decoupling editor tests from App
-rw-r--r-- | text_tests.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text_tests.lua b/text_tests.lua index c11f396..d74eb98 100644 --- a/text_tests.lua +++ b/text_tests.lua @@ -535,7 +535,7 @@ function test_edit_with_shift_key_deletes_selection() -- mimic precise keypresses for a capital letter App.fake_key_press('lshift') edit.keychord_pressed(Editor_state, 'd', 'd') - App.textinput('D') + edit.textinput(Editor_state, 'D') edit.key_released(Editor_state, 'd') App.fake_key_release('lshift') -- selected text is deleted and replaced with the key |