diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-12-23 20:42:12 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-12-23 20:42:12 -0800 |
commit | 8b9dab0c3650586053ab7aec76c8197d13993b64 (patch) | |
tree | 9ec1f5c7ea0009a2bd50ee6ac77cea8a55b05f00 | |
parent | e0448d7d7f1f6ec7ff88b222f59abe88503437e6 (diff) | |
download | view.love-8b9dab0c3650586053ab7aec76c8197d13993b64.tar.gz |
overzealous search-and-replace
-rw-r--r-- | source_text_tests.lua | 2 | ||||
-rw-r--r-- | text_tests.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source_text_tests.lua b/source_text_tests.lua index 64f041f..795fc0c 100644 --- a/source_text_tests.lua +++ b/source_text_tests.lua @@ -607,7 +607,7 @@ function test_select_text() edit.run_after_keychord(Editor_state, 'S-right') App.fake_key_release('lshift') edit.key_release(Editor_state, 'lshift') - -- selection persists even after shift is release + -- selection persists even after shift is released check_eq(Editor_state.selection1.line, 1, 'F - test_select_text/selection:line') check_eq(Editor_state.selection1.pos, 1, 'F - test_select_text/selection:pos') check_eq(Editor_state.cursor1.line, 1, 'F - test_select_text/cursor:line') diff --git a/text_tests.lua b/text_tests.lua index c0104ad..1d5113f 100644 --- a/text_tests.lua +++ b/text_tests.lua @@ -607,7 +607,7 @@ function test_select_text() edit.run_after_keychord(Editor_state, 'S-right') App.fake_key_release('lshift') edit.key_release(Editor_state, 'lshift') - -- selection persists even after shift is release + -- selection persists even after shift is released check_eq(Editor_state.selection1.line, 1, 'F - test_select_text/selection:line') check_eq(Editor_state.selection1.pos, 1, 'F - test_select_text/selection:pos') check_eq(Editor_state.cursor1.line, 1, 'F - test_select_text/cursor:line') |